CVE-2024-9681 json
HSTS subdomain overwrites parent cache entry
published 2024-11-06 2 y ago modified 2026-07-18 3 mo ago also EUVD-2024-50377 , GHSA-g337-g667-mjvw , JLSEC-2026-419
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
When curl is asked to use HSTS, the expiry time for a subdomain might overwrite a parent domain's cache entry, making it end sooner or later than otherwise intended.
This affects curl using applications that enable HSTS and use URLs with the insecure `HTTP://` scheme and perform transfers with hosts like `x.example.com` as well as `example.com` where the first host is a subdomain of the second host.
(The HSTS cache either needs to have been populated manually or there needs to have been previous HTTPS accesses done as the cache needs to have entries for the domains involved to trigger this problem.)
When `x.example.com` responds with `Strict-Transport-Security:` headers, this bug can make the subdomain's expiry timeout *bleed over* and get set for the parent domain `example.com` in curl's HSTS cache.
The result of a triggered bug is that HTTP accesses to `example.com` get converted to HTTPS for a different period of time than what was asked for by the origin server. If `example.com` for example stops supporting HTTPS at its expiry time, curl might then fail to access `http://example.com` until the (wrongly set) timeout expires. This bug can also expire the parent's entry *earlier*, thus making curl inadvertently switch back to insecure HTTP earlier than otherwise intended.
Patch / fix
- julia CURL_jll 8.11.0+0
- julia LibCURL_jll 8.11.0+0
- curl curl 8.11.0
- curl Debian 12 7.88.1-10+deb12u9
- curl Debian 14, Debian 13 8.11.0-1
debian advisories DEBIAN-CVE-2024-9681
- curl Ubuntu 22.04 LTS 7.81.0-1ubuntu1.19
- curl Ubuntu 24.04 LTS 8.5.0-2ubuntu10.5
ubuntu advisories UBUNTU-CVE-2024-9681
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl Linux Micro 6.1 8.12.1-slfo.1.1_1.1
- curl Linux Micro 6.0 8.6.0-4.1
- curl SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Basesystem 15 SP5 +11 more 8.0.1-150400.5.56.1
- curl SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 8.6.0-150600.4.12.1
- curl SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 8.0.1-11.98.1
suse advisories SUSE-SU-2025:20239-1SUSE-SU-2025:20083-1SUSE-SU-2024:3927-1SUSE-SU-2024:3927-2SUSE-SU-2024:3926-1SUSE-SU-2024:3925-1
- curl openSUSE Tumbleweed 8.11.0-1.1
opensuse advisories openSUSE-SU-2024:14476-1
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 8.11.0-r0
alpine advisories ALPINE-CVE-2024-9681
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl CBL-Mariner 2.0 8.8.0-5
- curl Azure Linux 3.0 8.8.0-4
- cmake CBL-Mariner 2.0 3.21.4-16
- cmake Azure Linux 3.0 3.30.3-4
- mysql Azure Linux 3.0 8.0.40-5
- mysql CBL-Mariner 2.0 8.0.40-3
- rust CBL-Mariner 2.0 1.72.0-10
- tensorflow Azure Linux 3.0 2.16.1-7
azure linux advisories AZL-52335AZL-52347AZL-52402AZL-52405AZL-52414AZL-52426
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- curl.se/docs/CVE-2024-9681.html advisory
- hackerone.com/reports/2764830 advisory
- openwall.com/lists/oss-security/2024/11/06/2 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-9681 updated cvss 3.9
curl: HSTS subdomain overwrites parent cache entry
-
Red Hat Enterprise Linux 9 curl, libcurl, curl-minimal, libcurl-minimal Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curl Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +6 moreunder investigation
-
Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimal Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-kube-rbac-proxy-rhel9, rhoai/odh-maas-controller-rhel9, rhoai/odh-mlflow-operator-rhel9, rhoai/odh-model-controller-rhel9, rhoai/odh-ogx-k8s-operator-rhel9, +14 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-07 updated cvss 6.5
Siemens Third-Party Components in SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.2affected: fixed in V3.2 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.2affected: fixed in V3.2
-
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < 3.2affected: fixed in V3.2 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-26-043-06 updated cvss 6.5
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.3affected: fixed in V3.3 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.3affected: fixed in V3.3
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) < 3.3 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) < 3.3 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) < 3.3 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) < 3.3 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) < 3.3 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) < 3.3affected: fixed in V3.3 support.industry.siemens.com
+8 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-4AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-2AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) < 3.3 Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) (6GK5334-5TS01-3AR3) < 3.3
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.99% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2764830 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | CURL_jll | <8.11.0+0 |
8.11.0+0 |
| julia | LibCURL_jll | >=7.81.0+0, <8.11.0+0 |
8.11.0+0 |
Affected products
- curl curl
Classification
- Weakness
-
- CWE-697 Incorrect Comparison
References
-
curl.se
/docs/CVE-2024-9681.html
patch, vendor-advisory, web
-
hackerone.com
/reports/2764830
exploit, issue-tracking, patch, third-party-advisory, web
-
openwall.com
/lists/oss-security/2024/11/06/2
mailing-list, patch, third-party-advisory, web
-
curl.se
/docs/CVE-2024-9681.json
vendor-advisory, web
-
security.netapp.com
/advisory/ntap-20241213-0006/
web
-
seclists.org
/fulldisclosure/2025/Apr/13
web
-
seclists.org
/fulldisclosure/2025/Apr/10
web
-
seclists.org
/fulldisclosure/2025/Apr/9
web
-
seclists.org
/fulldisclosure/2025/Apr/8
web
-
seclists.org
/fulldisclosure/2025/Apr/5
web
-
seclists.org
/fulldisclosure/2025/Apr/4
web
-
seclists.org
/fulldisclosure/2025/Apr/12
web
-
seclists.org
/fulldisclosure/2025/Apr/11
web
-
github.com
/advisories/GHSA-g337-g667-mjvw
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-9681
web
-
security.netapp.com
/advisory/ntap-20241213-0006
web
Sources
- CVE List CVE-2024-9681
- NVD CVE-2024-9681
- OSV JLSEC-2026-419
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.