Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpseclib/phpseclib
  4. ›
  5. CVE-2021-30130

CVE-2021-30130: Improper Verification of Cryptographic Signature

April 6, 2021 (updated January 27, 2023)

phpseclib mishandles RSA PKCS#1 v1.5 signature verification.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-30130

Code Behaviors & Features

Detect and mitigate CVE-2021-30130 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.31, all versions starting from 3.0 before 3.0.7

Fixed versions

  • 2.0.31
  • 3.0.7

Solution

Upgrade to versions 2.0.31, 3.0.7 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

packagist/phpseclib/phpseclib/CVE-2021-30130.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 12 Nov 2026 00:16:58 +0000.