GitHub Advisory Database
GHSA-vf4w-fg7r-5v94
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | phpseclib/phpseclib | From 3.0.0 before 3.0.7 (fixed in 3.0.7) |
| Packagist | phpseclib/phpseclib | All versions before 2.0.31 (fixed in 2.0.31) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-30130
- https://github.com/phpseclib/phpseclib/pull/1635
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.yaml
- https://github.com/phpseclib/phpseclib/releases/tag/2.0.31
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.7
- https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html