What’s Vulnerable › Vulnerabilities

CVE-2024-27355: phpseclib guardrails needed on OID length

Description

An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. When processing the ASN.1 object identifier of a certificate, a sub identifier may be provided that leads to a denial of service (CPU consumption for decodeOID).

Affected products

How to fix

Upgrade to a fixed version: phpseclib 1.0.23, 2.0.47, 3.0.36; Packagist Phpseclib/Phpseclib 2.0.47, 3.0.36, 1.0.23. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27355 or the next vulnerability affects your stack