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.
CVSS Details
- CVSS 3.1 Base Score: 6.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade curl | Aug 8, 2025 | Nov 6, 2024 |
| Amazon Linux Ami 2 | — | Upgrade libcurlUpgrade libcurl-develUpgrade curlUpgrade curl-debuginfo | Jan 10, 2025 | Nov 6, 2024 |
| Amazon_linux_2023 | — | Upgrade curl-debugsourceUpgrade libcurl-minimal-debuginfoUpgrade libcurl-minimalUpgrade curl-minimal-debuginfoUpgrade libcurl-develUpgrade curl-debuginfoUpgrade libcurl-debuginfoUpgrade curl-minimalUpgrade libcurlUpgrade curl | Jun 24, 2025 | Nov 6, 2024 |
| Apple Osx Curl | — | Upgrade macOS to the latest version | Apr 1, 2025 | Mar 31, 2025 |
| Debian | — | Upgrade curl | Mar 17, 2025 | Nov 6, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade libcurlUpgrade curl | Feb 11, 2025 | Nov 6, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade curlUpgrade libcurl | Feb 11, 2025 | Nov 6, 2024 |
| Ibm Aix | — | Apply the fix or workaround for curl_advisory7 | Nov 6, 2025 | Jun 4, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Nov 6, 2024 |
| Splunk | — | Upgrade Splunk Enterprise to version 9.1.10Upgrade Splunk Enterprise to version 9.4.3Upgrade Splunk Enterprise to version 9.3.5Upgrade Splunk Enterprise to version 9.2.7 | Jul 30, 2026 | Nov 6, 2024 |
| Suse | — | Upgrade libcurl-devel-docUpgrade libcurl4Upgrade libcurl4-32bitUpgrade libcurl-develUpgrade curl-zsh-completionUpgrade libcurl-devel-32bitUpgrade curlUpgrade libcurl-mini4 | Dec 31, 2024 | Nov 6, 2024 |
| Ubuntu | — | Upgrade libcurl4t64Upgrade libcurl3-gnutlsUpgrade libcurl4Upgrade curlUpgrade libcurl3-nssUpgrade libcurl3t64-gnutls | Nov 19, 2024 | Nov 6, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Nov 6, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub