Advisory

GHSA-vf4w-fg7r-5v94

Also known as: CVE-2021-30130

Summary

Improper Certificate Validation in phpseclib

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-07 20:56 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.7 (ecosystem)

Fixed versions

3.0.7

Fix

The export has no generic command for this ecosystem.

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 0, fixed 2.0.31 (ecosystem)

Fixed versions

2.0.31

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences