Overview
- 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.
- Source
- 2499f714-1537-4658-8207-48ae4bb9eae9
- NVD status
- Awaiting Analysis
Risk scores
CVSS 3.1
- Type
- Secondary
- Base score
- 5.9
- Impact score
- 3.6
- Exploitability score
- 2.2
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Severity
- MEDIUM
Social media
- Hype score
- Not currently trending
[1day1line] CVE-2024-9681: curl hsts cache overwrite vulnerability in curl that lets subdomains alter the HSTS cache of parent domains, risking HTTPS security. Fixed by restricting subdomain influence on parent HSTS entries. https://t.co/Wqs8q4xsm2
@hackyboiz
10 Nov 2024
1065 Impressions
3 Retweets
9 Likes
5 Bookmarks
0 Replies
0 Quotes
CVE-2024-9681: curl: HSTS subdomain overwrites parent cache entry https://t.co/1gjuDMv1pD 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
@oss_security
6 Nov 2024
25 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
CVE-2024-9681 HSTS subdomain overwrites parent cache entry ============================================ Project curl Security Advisory, November 6th 2024 - [Permalink](https://t.co/eQzq1VFANw) VULNERABIL... https://t.co/8q5Pv5bxIA
@VulmonFeeds
6 Nov 2024
36 Impressions
1 Retweet
1 Like
1 Bookmark
0 Replies
0 Quotes
CVE-2024-9681 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. T… https://t.co/YphZ4PfGR1
@CVEnew
6 Nov 2024
298 Impressions
0 Retweets
2 Likes
0 Bookmarks
0 Replies
0 Quotes