CVE-2024-9681
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
37- osv-coords35 versionspkg:apk/chainguard/curlpkg:apk/chainguard/curl-devpkg:apk/chainguard/curl-docpkg:apk/chainguard/curl-oci-entrypointpkg:apk/chainguard/curl-staticpkg:apk/chainguard/libcurl4pkg:apk/chainguard/libcurl-openssl4pkg:apk/wolfi/curlpkg:apk/wolfi/curl-devpkg:apk/wolfi/curl-docpkg:apk/wolfi/curl-oci-entrypointpkg:apk/wolfi/curl-staticpkg:apk/wolfi/libcurl4pkg:apk/wolfi/libcurl-openssl4pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%20Micro%205.5pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Installer%20Updates%2015%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Installer%20Updates%2015%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/curl&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/curl&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/curl&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/curl&distro=SUSE%20Manager%20Server%204.3
< 8.11.0-r0+ 34 more
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.11.0-r0
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.6.0-150600.4.12.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.11.0-1.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.6.0-150600.4.12.1
- (no CPE)range: < 8.0.1-11.98.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-11.98.1
- (no CPE)range: < 8.6.0-4.1
- (no CPE)range: < 8.12.1-slfo.1.1_1.1
- (no CPE)range: < 8.0.1-150400.5.56.1
- (no CPE)range: < 8.0.1-150400.5.56.1
Patches
Vulnerability mechanics
References
13- www.openwall.com/lists/oss-security/2024/11/06/2nvdMailing ListPatchThird Party Advisory
- curl.se/docs/CVE-2024-9681.htmlnvdPatchVendor Advisory
- hackerone.com/reports/2764830nvdExploitIssue TrackingPatchThird Party Advisory
- curl.se/docs/CVE-2024-9681.jsonnvdVendor Advisory
- seclists.org/fulldisclosure/2025/Apr/10nvd
- seclists.org/fulldisclosure/2025/Apr/11nvd
- seclists.org/fulldisclosure/2025/Apr/12nvd
- seclists.org/fulldisclosure/2025/Apr/13nvd
- seclists.org/fulldisclosure/2025/Apr/4nvd
- seclists.org/fulldisclosure/2025/Apr/5nvd
- seclists.org/fulldisclosure/2025/Apr/8nvd
- seclists.org/fulldisclosure/2025/Apr/9nvd
- security.netapp.com/advisory/ntap-20241213-0006/nvd
News mentions
0No linked articles in our index yet.