Improper Check for Unusual or Exceptional Conditions Affecting phpseclib/phpseclib package, versions <1.0.23>=2.0.0, <2.0.47>=3.0.0, <3.0.36


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-PHP-PHPSECLIBPHPSECLIB-6356270
  • published3 Mar 2024
  • disclosed1 Mar 2024
  • creditUnknown

Introduced: 1 Mar 2024

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

How to fix?

Upgrade phpseclib/phpseclib to version 1.0.23, 2.0.47, 3.0.36 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 Improper Check for Unusual or Exceptional Conditions that allows an attacker to trigger denial of service via excessive CPU consumption by sending certificates containing an extremely large prime for a primality check.

CVSS Scores

version 3.1