CVE-2024-27354

HIGH EPSS 44.1%
Published Mar 1, 20242y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published Mar 1, 2024 2y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
7.5
Exploitability
3.9
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
44.1% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-400 Uncontrolled Resource Consumption Resource Mgmt

Affected Products 4

VendorProductVersionRange
phpseclibphpseclib*≥1.0.0  –  <1.0.23
phpseclibphpseclib*≥2.0.0  –  <2.0.47
phpseclibphpseclib*≥3.0.0  –  <3.0.36
debiandebian_linux10.0any

References 4

  • gist.github.com https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b
    Third Party Advisory
  • github.com https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49
    Product
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html
    Mailing ListThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html
    Mailing ListThird Party Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.