Infinite loop Affecting phpseclib/phpseclib package, versions >=3.0.0, <3.0.19


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. 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-PHP-PHPSECLIBPHPSECLIB-3338516
  • published3 Mar 2023
  • disclosed3 Mar 2023
  • creditUnknown

Introduced: 3 Mar 2023

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

How to fix?

Upgrade phpseclib/phpseclib to version 3.0.19 or higher.

Overview

phpseclib/phpseclib is a PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

Affected versions of this package are vulnerable to Infinite loop in Math/PrimeField.php file via composite primefields.

CVSS Scores

version 3.1