HIGH7.5
GHSA-2f25-pfq3-c7h8
Phpseclib needs guardrails on large binaryfield integers
Quick fix
GHSA-2f25-pfq3-c7h8 — phpseclib/phpseclib: upgrade to the fixed version with the command below.
composer require phpseclib/phpseclib:^3.0.34Details
### Impact Anyone loading untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc)
### Patches https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f
### Workarounds No.
### References https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f https://www.usenix.org/system/files/usenixsecurity25-shi-bing.pdf
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.34Fix
composer require phpseclib/phpseclib:^3.0.34References
- https://github.com/phpseclib/phpseclib/security/advisories/GHSA-2f25-pfq3-c7h8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-49316[ADVISORY]
- https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2023-49316.yaml[WEB]
- https://github.com/phpseclib/phpseclib[PACKAGE]
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.34[WEB]