CVE-2021-30130: Improper Certificate Validation in phpseclib
Improper Certificate Validation in phpseclib
Other sources
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/phpseclib/phpseclibto a version that resolves this vulnerability.Fixed in 2.0.31 - Upgrade
Upgrade
composer/phpseclib/phpseclibto a version that resolves this vulnerability.Fixed in 3.0.7 - Upgrade
Upgrade
debian/php-phpseclibto a version that resolves this vulnerability.Fixed in 2.0.30-2+deb11u2Fixed in 2.0.30-2+deb11u1Fixed in 2.0.42-1+deb12u2Fixed in 2.0.42-1+deb12u1Fixed in 2.0.48-3 - Upgrade
Upgrade
debian/php-phpseclib3to a version that resolves this vulnerability.Fixed in 3.0.19-1+deb12u3Fixed in 3.0.19-1+deb12u2Fixed in 3.0.43-2 - Upgrade
Upgrade
debian/phpseclibto a version that resolves this vulnerability.Fixed in 1.0.19-3+deb11u2Fixed in 1.0.19-3+deb11u1Fixed in 1.0.20-1+deb12u2Fixed in 1.0.20-1+deb12u1Fixed in 1.0.23-6 - Upgrade
Upgrade
phpseclibto a version that resolves this vulnerability.Fixed in 2.0.31 - Upgrade
Upgrade
phpseclibto a version that resolves this vulnerability.Fixed in 3.0.7
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2021-30130.
What is the title of this vulnerability?
The title of this vulnerability is 'Improper Certificate Validation in phpseclib'.
What is the description of this vulnerability?
This vulnerability refers to phpseclib before 2.0.31 and 3.x before 3.0.7 mishandling RSA PKCS#1 v1.5 signature verification.
What is the severity of CVE-2021-30130?
The severity of CVE-2021-30130 is high with a CVSS score of 7.5.
What software versions are affected by this vulnerability?
The affected software versions include phpseclib 2.0.0 up to exclusive 2.0.31 and phpseclib 3.0.0 from inclusive up to exclusive 3.0.7.
How can I fix this vulnerability?
To fix this vulnerability, update your phpseclib package to version 2.0.31 or version 3.0.7.