CVE-2024-27354
highPriorität · verfolgen · 0EPSS 0.006 · 49. PerzentilEUUSEPSS · bewertet 2026-10-28
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
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen⚠ Quellen uneinig · medium–high · 6.9–7.5
SSVC
Eine Handlungsentscheidung — aus Ausnutzung und Auswirkung.
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (10)
Betroffene Produkte und Versionsbereiche.
Advisories (2)
Hersteller- und Ökosystem-Meldungen dazu.
- GHSA-2528-jw5q-ww88phpseclib: guardrails needed on isPrime and randomPrime2026-05-06ghsa · osvUS
### Impact Anyone trying to generate a prime and testing the primality of a number. ### Patches https://github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575 ### Workarounds Using the GMP extension would probably help, assuming that one has its own guardrails. ### Resources https://github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575 https://www.usenix.org/system/files/conference/usenixsecurity25/sec25cycle1-prepub-599-shi-bing.pdf
- GHSA-hg35-mp25-qf6hDuplicate Advisory: phpseclib: guardrails needed on isPrime and randomPrime2024-03-02ghsa · osvUS
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-2528-jw5q-ww88. This link is maintained to preserve external references. ### Original 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.
auch bekannt als (4)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (19)
Externe Belege — Patches, Meldungen, Analysen.
- https://cxsecurity.com/cveshow/CVE-2024-27354/cnnvd
- https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0bcnnvd
- https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49cnnvd
- https://github.com/phpseclib/phpseclib/releasesPatchcnnvd
- https://vigilance.fr/vulnerability/phpseclib-overload-43708cnnvd
- https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0benisa_euvd
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27354.yamlenisa_euvd
- https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49enisa_euvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan