CVE Catalog

CVE-2024-8096

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.82%

56th percentile - higher than 56% of all known CVEs

Summary

When curl is told to use the Certificate Status Request TLS extension (OCSP stapling) to verify the server certificate, it might fail to detect some OCSP problems and wrongly consider the response as fine. If the returned status reports an error other than 'revoked' (e.g. 'unauthorized'), it is not treated as a bad certificate.

Risk Assessment

curl may accept a connection to a server whose certificate should be rejected, weakening certificate verification and potentially enabling man-in-the-middle attacks. This affects applications relying on curl for OCSP validation.

Recommendation

Update curl to a version containing the CVE-2024-8096 fix. Until then, consider disabling OCSP stapling or applying additional certificate verification.

Other vulnerabilities in curl

See all
Original NVD description (English source)

When curl is told to use the Certificate Status Request TLS extension, often referred to as OCSP stapling, to verify that the server certificate is valid, it might fail to detect some OCSP problems and instead wrongly consider the response as fine. If the returned status reports another error than 'revoked' (like for example 'unauthorized') it is not treated as a bad certficate.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS