CVE-2021-30130
7.5high
Improper Certificate Validation in phpseclib
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.05% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-vf4w-fg7r-5v94
Description
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| phpseclib/phpseclib (Packagist) | from 3.0.0 before 3.0.7, before 2.0.31 | GitHub Advisory Database |
| phpseclib phpseclib | before 2.0.31, from 3.0 before 3.0.7 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
NVD (es)
phpseclib versiones anteriores a 2.0.31 y versiones 3.x anteriores a 3.0.7, maneja inapropiadamente la verificación de firma RSA PKCS#1 v1.5
References
| https://github.com/phpseclib/phpseclib/pull/1635 | patch, third-party-advisory, web | |
| https://github.com/phpseclib/phpseclib/releases/tag/3.0.7 | release-notes, third-party-advisory, web | |
| https://github.com/phpseclib/phpseclib/releases/tag/2.0.31 | release-notes, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html | mailing-list, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-30130 | advisory | |
| https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.yaml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30130 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vf4w-fg7r-5v94 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-30130 changed 2026-06-17 | Public domain |