CVE-2021-30130
published 2021-04-06CVE-2021-30130: phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
PriorityP434high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
1.05%
60.6th percentile
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | php-phpseclib | < php-phpseclib 2.0.30-2 (bookworm) | php-phpseclib 2.0.30-2 (bookworm) |
| debian | php-phpseclib3 | < php-phpseclib 2.0.30-2 (bookworm) | php-phpseclib 2.0.30-2 (bookworm) |
| debian | phpseclib | < php-phpseclib 2.0.30-2 (bookworm) | php-phpseclib 2.0.30-2 (bookworm) |
| phpseclib | phpseclib | < 2.0.31 | 2.0.31 |
| phpseclib | phpseclib | >= 0 < 1.0.19-3 | 1.0.19-3 |
| phpseclib | phpseclib | >= 0 < 1.0.19-3 | 1.0.19-3 |
| phpseclib | phpseclib | >= 0 < 1.0.19-3 | 1.0.19-3 |
| phpseclib | phpseclib | >= 0 < 2.0.31 | 2.0.31 |
| phpseclib | phpseclib | >= 0 < 1.0.1-3ubuntu0.1+esm1 | 1.0.1-3ubuntu0.1+esm1 |
| phpseclib | phpseclib | >= 0 < 1.0.9-1ubuntu0.1~esm1 | 1.0.9-1ubuntu0.1~esm1 |
| phpseclib | phpseclib | >= 0 < 1.0.18-2ubuntu0.1~esm1 | 1.0.18-2ubuntu0.1~esm1 |
| phpseclib | phpseclib | >= 0 < 1.0.20-1ubuntu0.1~esm1 | 1.0.20-1ubuntu0.1~esm1 |
| phpseclib | phpseclib | >= 3.0 < 3.0.7 | 3.0.7 |
| phpseclib | phpseclib | >= 3.0.0 < 3.0.7 | 3.0.7 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
phpseclib vulnerabilities
vendor_ubuntu·2025-04-02·CVSS 7.5
CVE-2024-27354 [HIGH] phpseclib vulnerabilities
Title: phpseclib vulnerabilities
Summary: Several security issues were fixed in phpseclib.
It was discovered that phpseclib did not correctly handle RSA PKCS#1
v1.5 signature verification. An attacker could possibly use this issue to
bypass authentication. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-30130)
It was discovered that phpseclib did not correctly handle certain
characters in certain TLS fields, which could lead to name confusion.
An attacker could possibly use this issue to bypass authentication.
(CVE-2023-52892)
It was discovered that phpseclib incorrectly limited the size of prime
numbers generated by isPrime. An attacker could possibly use this issue
to cause a denial of service. (CVE-2024-27354)
It was discovered that phpseclib did not correctly handle processin
Debian
CVE-2021-30130: php-phpseclib - phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signatur...
vendor_debian·2021·CVSS 7.5
CVE-2021-30130 [HIGH] CVE-2021-30130: php-phpseclib - phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signatur...
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
Scope: local
bookworm: resolved (fixed in 2.0.30-2)
bullseye: resolved (fixed in 2.0.30-2)
forky: resolved (fixed in 2.0.30-2)
sid: resolved (fixed in 2.0.30-2)
trixie: resolved (fixed in 2.0.30-2)
OSV
phpseclib vulnerabilities
osv·2025-04-02·CVSS 7.5
CVE-2021-30130 [HIGH] phpseclib vulnerabilities
phpseclib vulnerabilities
It was discovered that phpseclib did not correctly handle RSA PKCS#1
v1.5 signature verification. An attacker could possibly use this issue to
bypass authentication. This issue only affected Ubuntu 20.04 LTS.
(CVE-2021-30130)
It was discovered that phpseclib did not correctly handle certain
characters in certain TLS fields, which could lead to name confusion.
An attacker could possibly use this issue to bypass authentication.
(CVE-2023-52892)
It was discovered that phpseclib incorrectly limited the size of prime
numbers generated by isPrime. An attacker could possibly use this issue
to cause a denial of service. (CVE-2024-27354)
It was discovered that phpseclib did not correctly handle processing the
ASN.1 object identifier of a certificate. An attacker could
GHSA
Improper Certificate Validation in phpseclib
ghsa·2021-04-07
CVE-2021-30130 [HIGH] CWE-295 Improper Certificate Validation in phpseclib
Improper Certificate Validation in phpseclib
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
OSV
Improper Certificate Validation in phpseclib
osv·2021-04-07
CVE-2021-30130 [HIGH] Improper Certificate Validation in phpseclib
Improper Certificate Validation in phpseclib
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
OSV
CVE-2021-30130: phpseclib before 2
osv·2021-04-06·CVSS 7.5
CVE-2021-30130 [HIGH] CVE-2021-30130: phpseclib before 2
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/phpseclib/phpseclib/pull/1635https://github.com/phpseclib/phpseclib/releases/tag/2.0.31https://github.com/phpseclib/phpseclib/releases/tag/3.0.7https://lists.debian.org/debian-lts-announce/2022/11/msg00024.htmlhttps://lists.debian.org/debian-lts-announce/2022/11/msg00025.htmlhttps://github.com/phpseclib/phpseclib/pull/1635https://github.com/phpseclib/phpseclib/releases/tag/2.0.31https://github.com/phpseclib/phpseclib/releases/tag/3.0.7https://lists.debian.org/debian-lts-announce/2022/11/msg00024.htmlhttps://lists.debian.org/debian-lts-announce/2022/11/msg00025.html
2021-04-06
Published