CVE-2024-27354 Affecting phpseclib package, versions <1.0.20-1+deb12u2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-PHPSECLIB-6282752
  • published28 Feb 2024
  • disclosed1 Mar 2024

Introduced: 28 Feb 2024

CVE-2024-27354  (opens in a new tab)

How to fix?

Upgrade Debian:12 phpseclib to version 1.0.20-1+deb12u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream phpseclib package and not the phpseclib package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.