VDB
Sign up
HIGH7.5

GHSA-f2qx-66wf-wvvx

phpseclib guardrails needed on OID length

Quick fix

GHSA-f2qx-66wf-wvvx — phpseclib/phpseclib: upgrade to the fixed version with the command below.

composer require phpseclib/phpseclib:^2.0.47

Details

### Impact Any application using that loads untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc).

### Patches https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59

### Workarounds No.

### Resources https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59 https://www.usenix.org/system/files/conference/usenixsecurity25/sec25cycle1-prepub-599-shi-bing.pdf

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/phpseclib/phpseclib
Introduced in: 2.0.0Fixed in: 2.0.47
Fixcomposer require phpseclib/phpseclib:^2.0.47
Packagist/phpseclib/phpseclib
Introduced in: 3.0.0Fixed in: 3.0.36
Fixcomposer require phpseclib/phpseclib:^3.0.36
Packagist/phpseclib/phpseclib
Introduced in: 0.1.1Fixed in: 1.0.23
Fixcomposer require phpseclib/phpseclib:^1.0.23

References