CVE-2024-27354
High
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. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Phpseclib
PublishedMar 1, 2024
First seenMar 1, 2024
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- phpseclib phpseclib1.0.23, 2.0.47, 3.0.36 or later
- phpseclib/phpseclib1.0.23, 2.0.47, 3.0.36 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phpseclib phpseclib | 1.0.0 ≤ v < 1.0.23, 2.0.0 ≤ v < 2.0.47, 3.0.0 ≤ v < 3.0.36 | 1.0.23, 2.0.47, 3.0.36 |
| debian debian_linux | 10.0 | — |
| phpseclib/phpseclibPackagist | 0.1.1 ≤ v < 1.0.23, 2.0.0 ≤ v < 2.0.47, 3.0.0 ≤ v < 3.0.36 | 1.0.23, 2.0.47, 3.0.36 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.