Vulnerability · Published Mar 1, 2024 · Assigned by mitre
CVE-2024-27355
High 7.5
In plain English
A high-severity uncontrolled resource consumption in the php-phpseclib package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 52.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | php-phpseclib | 2.0.42-1+deb12u2 | DEBIAN-CVE-2024-27355 |
| Debian:13 | php-phpseclib | 2.0.47-1 | DEBIAN-CVE-2024-27355 |
| Debian:14 | php-phpseclib | 2.0.47-1 | DEBIAN-CVE-2024-27355 |
| Debian:12 | php-phpseclib3 | 3.0.19-1+deb12u3 | DEBIAN-CVE-2024-27355 |
| Debian:13 | php-phpseclib3 | 3.0.36-1 | DEBIAN-CVE-2024-27355 |
| Debian:14 | php-phpseclib3 | 3.0.36-1 | DEBIAN-CVE-2024-27355 |
| Debian:12 | phpseclib | 1.0.20-1+deb12u2 | DEBIAN-CVE-2024-27355 |
| Debian:13 | phpseclib | 1.0.23-1 | DEBIAN-CVE-2024-27355 |
| Packagist | phpseclib/phpseclib | 1.0.23 | GHSA-f2qx-66wf-wvvx |
| Packagist | phpseclib/phpseclib | 3.0.36 | GHSA-f2qx-66wf-wvvx |
| Packagist | phpseclib/phpseclib | 2.0.47 | GHSA-f2qx-66wf-wvvx |
| Ubuntu:22.04:LTS | phpseclib | 1.0.20-1+deb12u3build0.22.04.1 | UBUNTU-CVE-2024-27355 |
| Ubuntu:22.04:LTS | phpseclib | 1.0.20-1+deb12u3build0.22.04.1 | USN-8769-1 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php#L1129
- https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b
- [debian-lts-announce] 20240305 [SECURITY] [DLA 3749-1] phpseclib security update mailing-list
- [debian-lts-announce] 20240305 [SECURITY] [DLA 3750-1] php-phpseclib security update mailing-list