Vulnerability · Published Sep 11, 2024 · Assigned by curl

CVE-2024-8096OCSP stapling bypass with GnuTLS

Medium 6.5

In plain English

A medium-severity improper certificate validation in curl from curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.8%top 42.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.10.0-r0ALPINE-CVE-2024-8096
Alpine:v3.21curl8.10.0-r0ALPINE-CVE-2024-8096
Alpine:v3.22curl8.10.0-r0ALPINE-CVE-2024-8096
Alpine:v3.23curl8.10.0-r0ALPINE-CVE-2024-8096
Alpine:v3.24curl8.10.0-r0ALPINE-CVE-2024-8096
Debian:12curl7.88.1-10+deb12u8DEBIAN-CVE-2024-8096
Debian:13curl8.10.0-1DEBIAN-CVE-2024-8096
Debian:14curl8.10.0-1DEBIAN-CVE-2024-8096
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.18USN-7012-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.18UBUNTU-CVE-2024-8096
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.4UBUNTU-CVE-2024-8096
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.4USN-7012-1

Affected products (as reported)

VendorProductVersions
curl curl 8.9.1 – through 8.9.18.9.0 – through 8.9.08.8.0 – through 8.8.08.7.1 – through 8.7.18.7.0 – through 8.7.08.6.0 – through 8.6.08.5.0 – through 8.5.08.4.0 – through 8.4.0

Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References