phpseclib/phpseclib
Affected
- introduced
0.1.1, fixed1.0.23(ecosystem)
Fixed versions
1.0.23
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2024-27354
phpseclib: guardrails needed on isPrime and randomPrime
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
High Basis: The source's own band: HIGH
0.1.1, fixed 1.0.23 (ecosystem)1.0.23
The export has no generic command for this ecosystem.
2.0.0, fixed 2.0.47 (ecosystem)2.0.47
The export has no generic command for this ecosystem.
3.0.0, fixed 3.0.36 (ecosystem)3.0.36
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0