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 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
php-phpseclib (PTS) | 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-2 | 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) | 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-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
php-phpseclib | source | buster | 2.0.30-2~deb10u3 | DLA-3750-1 | ||
php-phpseclib | source | bullseye | 2.0.30-2+deb11u2 | |||
php-phpseclib | source | bookworm | 2.0.42-1+deb12u2 | |||
php-phpseclib | source | (unstable) | 2.0.47-1 | |||
php-phpseclib3 | source | bookworm | 3.0.19-1+deb12u3 | |||
php-phpseclib3 | source | (unstable) | 3.0.36-1 | |||
phpseclib | source | buster | 1.0.19-3~deb10u3 | DLA-3749-1 | ||
phpseclib | source | bullseye | 1.0.19-3+deb11u2 | |||
phpseclib | source | bookworm | 1.0.20-1+deb12u2 | |||
phpseclib | source | (unstable) | 1.0.23-1 |
https://github.com/phpseclib/phpseclib/commit/ad5dbdf2129f5e0fb644637770b7f33de8ca8575