CVE-2024-27355
HIGH7.5EPSS 0.46%Duplicate Advisory: phpseclib does not properly limit the ASN1 OID length
發布日:2026/5/8修改日:2026/5/27
描述
An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. When processing the ASN.1 object identifier of a certificate, a sub identifier may be provided that leads to a denial of service (CPU consumption for decodeOID).
受影響套件(5)
- Debian/php-phpseclibfrom 0, < 2.0.30-2+deb11u2
- Debian/php-phpseclib3from 0, < 3.0.19-1+deb12u3
- Debian/phpseclibfrom 0, < 1.0.19-3+deb11u2
- Packagist/phpseclib/phpseclib>= 2.0.0, < 2.0.47
- Packagist/phpseclib/phpseclib>= 3.0.0, < 3.0.36
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(11)
- ADVISORYhttps://github.com/advisories/GHSA-jr22-8qgm-4q87
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-27355
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-27355
- PATCHhttps://github.com/phpseclib/phpseclib
- WEBhttps://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27355.yaml
- WEBhttps://github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php#L1129
- WEBhttps://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59
- WEBhttps://github.com/phpseclib/phpseclib/security/advisories/GHSA-f2qx-66wf-wvvx
- WEBhttps://lists.debian.org/debian-lts-announce/2024/03/msg00002.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/03/msg00003.html