CVE-2024-8096OCSP stapling bypass with GnuTLS
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | curl | Fixed | 8.5.0-2ubuntu10.4 | UBUNTU-CVE-2024-8096 |
| Ubuntu 22.04 | curl | Fixed | 7.81.0-1ubuntu1.18 | UBUNTU-CVE-2024-8096 |
| Ubuntu 20.04 | curl | Fixed | 7.68.0-1ubuntu2.24 | UBUNTU-CVE-2024-8096 |
| Ubuntu 18.04 | curl | Fix pending | 7.58.0-2ubuntu3.24+esm10 (Ubuntu Pro) | UBUNTU-CVE-2024-8096 |
| Ubuntu 16.04 | curl | Fix pending | 7.47.0-1ubuntu2.19+esm17 (Ubuntu Pro) | UBUNTU-CVE-2024-8096 |
| Debian 14 | curl | Fixed | 8.10.0-1 | DEBIAN-CVE-2024-8096 |
| Debian 13 | curl | Fixed | 8.10.0-1 | DEBIAN-CVE-2024-8096 |
| Debian 12 | curl | Fixed | 7.88.1-10+deb12u8 | DEBIAN-CVE-2024-8096 |
| Red Hat Enterprise Linux 10 | curl | Not affected | ||
| Red Hat Enterprise Linux 10 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 10 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | libcurl-minimal | Not affected | ||
| Red Hat Enterprise Linux 9 | curl | Not affected | ||
| Red Hat Enterprise Linux 9 | curl-minimal | Not affected | ||
| Red Hat Enterprise Linux 9 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 9 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libcurl-minimal | Not affected | ||
| Red Hat Enterprise Linux 8 | curl | Not affected | ||
| Red Hat Enterprise Linux 8 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 8 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libcurl-minimal | Not affected | ||
| Red Hat Enterprise Linux 7 | curl | Not affected | ||
| Red Hat Enterprise Linux 7 | libcurl | Not affected | ||
| Red Hat Enterprise Linux 7 | libcurl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | curl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libcurl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libcurl-devel | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
| Alpine Linux 3.23 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
| Alpine Linux 3.22 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
| Alpine Linux 3.21 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
| Alpine Linux 3.20 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
| Alpine Linux 3.19 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
| Alpine Linux 3.18 | curl | Fixed | 8.10.0-r0 | ALPINE-CVE-2024-8096 |
What the vendor says
As published in the CVE record by curl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- curl: affected: 8.9.1 to 8.9.1, 8.9.0 to 8.9.0, 8.8.0 to 8.8.0, 8.7.1 to 8.7.1, 8.7.0 to 8.7.0, 8.6.0 to 8.6.0
References
- https://curl.se/docs/CVE-2024-8096.json
- https://curl.se/docs/CVE-2024-8096.html
- https://hackerone.com/reports/2669852
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.