Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phpseclib | Phpseclib | >= 1.0.0, < 1.0.23 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0bThird Party Advisory
- https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.phpProduct
- https://lists.debian.org/debian-lts-announce/2024/03/msg00002.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00003.htmlMailing ListThird Party Advisory
- https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0bThird Party Advisory
- https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.phpProduct
- https://lists.debian.org/debian-lts-announce/2024/03/msg00002.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00003.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2024-27354?
CVE-2024-27354 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 denia...
How severe is CVE-2024-27354?
CVE-2024-27354 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-27354?
Check the references section above for vendor advisories and patch information. Affected products include: Phpseclib Phpseclib, Debian Debian Linux.