CVE-2024-27354
php-phpseclib - security update
7.5
HIGH
CVSS 3.1
EPSS 0.20%
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.
How to fix CVE-2024-27354
To remediate CVE-2024-27354, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.30-2~deb10u3 or later
- —upgrade to 2.0.30-2+deb11u2 or later
- —upgrade to 3.0.19-1+deb12u3 or later
- —upgrade to 1.0.19-3~deb10u3 or later
- —upgrade to 1.0.19-3+deb11u2 or later
- —upgrade to 1.0.23 or later
- —upgrade to 1.0.23 or later
Is CVE-2024-27354 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 2.0.30-2~deb10u3
- from 0, < 2.0.30-2+deb11u2
- from 0, < 3.0.19-1+deb12u3
- from 0, < 1.0.19-3~deb10u3
- from 0, < 1.0.19-3+deb11u2
- >= 0.1.1, < 1.0.23
- >= 1.0.0, < 1.0.23
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |