CVEfocus › CVE database › CVE-2021-30130

CVE-2021-30130

CVSS 7.5 HighEPSS 1.1% (higher than 64% of CVEs)Published 2021-04-06Updated 2024-08-03Assigner: mitre

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

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
5Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04php-phpseclib3Not affected
vulnerable_code_not_present
Ubuntu 20.04php-phpseclibFix pending2.0.23-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2021-30130
Ubuntu 20.04phpseclibFix pending1.0.18-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-30130
Ubuntu 16.04php-phpseclibFix pending
Ubuntu 16.04phpseclibFix pending
Ubuntu 14.04phpseclibFix pending
Debian 14php-phpseclibFixed2.0.30-2DEBIAN-CVE-2021-30130
Debian 14php-phpseclib3Fixed3.0.7-1DEBIAN-CVE-2021-30130
Debian 13php-phpseclibFixed2.0.30-2DEBIAN-CVE-2021-30130
Debian 13php-phpseclib3Fixed3.0.7-1DEBIAN-CVE-2021-30130
Debian 13phpseclibFixed1.0.19-3DEBIAN-CVE-2021-30130
Debian 12php-phpseclibFixed2.0.30-2DEBIAN-CVE-2021-30130
Debian 12php-phpseclib3Fixed3.0.7-1DEBIAN-CVE-2021-30130
Debian 12phpseclibFixed1.0.19-3DEBIAN-CVE-2021-30130
Packagist libraryphpseclib/phpseclibFixed3.0.7GHSA-vf4w-fg7r-5v94

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.