Name | CVE-2024-27354 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3749-1, DLA-3750-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php-phpseclib (PTS) | stretch (lts), stretch | 2.0.30-2~deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 2.0.30-2~deb10u3 | fixed |
| bullseye | 2.0.30-2+deb11u2 | fixed |
| bullseye (security) | 2.0.30-2+deb11u1 | vulnerable |
| bookworm | 2.0.42-1+deb12u2 | fixed |
| bookworm (security) | 2.0.42-1+deb12u1 | vulnerable |
| sid, trixie | 2.0.47-3 | fixed |
php-phpseclib3 (PTS) | bookworm | 3.0.19-1+deb12u3 | fixed |
| bookworm (security) | 3.0.19-1+deb12u2 | vulnerable |
| sid, trixie | 3.0.42-1 | fixed |
phpseclib (PTS) | jessie | 0.3.8-1 | vulnerable |
| stretch (lts), stretch | 1.0.19-1~deb9u2 | vulnerable |
| buster (security), buster, buster (lts) | 1.0.19-3~deb10u3 | fixed |
| bullseye | 1.0.19-3+deb11u2 | fixed |
| bullseye (security) | 1.0.19-3+deb11u1 | vulnerable |
| bookworm | 1.0.20-1+deb12u2 | fixed |
| bookworm (security) | 1.0.20-1+deb12u1 | vulnerable |
| sid, trixie | 1.0.23-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575
[stretch] - php-phpseclib <postponed> (Minor issue; CPU DoS; follow bullseye-pu)
[stretch] - phpseclib <postponed> (Minor issue; CPU DoS; follow bullseye-pu)