HIGH7.5
GHSA-vf4w-fg7r-5v94
Improper Certificate Validation in phpseclib
Quick fix
GHSA-vf4w-fg7r-5v94 — phpseclib/phpseclib: upgrade to the fixed version with the command below.
composer require phpseclib/phpseclib:^3.0.7Details
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/phpseclib/phpseclib
Introduced in:
3.0.0Fixed in: 3.0.7Fix
composer require phpseclib/phpseclib:^3.0.7Packagist/phpseclib/phpseclib
Introduced in:
0Fixed in: 2.0.31Fix
composer require phpseclib/phpseclib:^2.0.31References
- https://nvd.nist.gov/vuln/detail/CVE-2021-30130[ADVISORY]
- https://github.com/phpseclib/phpseclib/pull/1635[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.yaml[WEB]
- https://github.com/phpseclib/phpseclib/releases/tag/2.0.31[WEB]
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.7[WEB]
- https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html[WEB]
- https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html[WEB]