Loop with Unreachable Exit Condition ('Infinite Loop') Affecting php-phpseclib3 package, versions <3.0.19-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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-DEBIAN13-PHPPHPSECLIB3-5692478
  • published4 Mar 2023
  • disclosed3 Mar 2023

Introduced: 3 Mar 2023

CVE-2023-27560  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:13 php-phpseclib3 to version 3.0.19-1 or higher.

NVD Description

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

Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.

CVSS Scores

version 3.1