Improper Verification of Cryptographic Signature Affecting phpseclib package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.22% (61st 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-UBUNTU2004-PHPSECLIB-1244446
  • published28 Mar 2025
  • disclosed6 Apr 2021

Introduced: 6 Apr 2021

CVE-2021-30130  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 phpseclib.

NVD Description

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

phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.

CVSS Base Scores

version 3.1