Patchwire CVEs, their patch status, and feeds to follow them

CVE-2024-9681

Fixed in a distro release EPSS 2%CVSS 5.9

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.

Published 2024-11-06 · CVE record · OSV

Products: curl

Distro releases

ReleasePackageFixed in
Alpine 3.18curl8.11.0-r0
Alpine 3.19curl8.11.0-r0
Alpine 3.20curl8.11.0-r0
Alpine 3.21curl8.11.0-r0
Alpine 3.22curl8.11.0-r0
Alpine 3.23curl8.11.0-r0
Alpine 3.24curl8.11.0-r0
Amazon Linux 2curl8.3.0-1.amzn2.0.8
Amazon Linux 2libcurl8.3.0-1.amzn2.0.8
Amazon Linux 2libcurl-devel8.3.0-1.amzn2.0.8
Amazon Linux 2023curl8.11.1-4.amzn2023.0.1
Amazon Linux 2023curl-minimal8.11.1-4.amzn2023.0.1
Amazon Linux 2023libcurl8.11.1-4.amzn2023.0.1
Amazon Linux 2023libcurl-devel8.11.1-4.amzn2023.0.1
Amazon Linux 2023libcurl-minimal8.11.1-4.amzn2023.0.1
Chainguardcurl8.11.0-r0
Debian 12curl7.88.1-10+deb12u9
Debian 13curl8.11.0-1
Debian 14curl8.11.0-1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOScurl8.0.1-150400.5.56.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSScurl8.0.1-150400.5.56.1
SUSE Linux Enterprise Installer Updates 15 SP4curl8.0.1-150400.5.56.1
SUSE Linux Enterprise Installer Updates 15 SP5curl8.0.1-150400.5.56.1
SUSE Linux Enterprise Micro 5.3curl8.0.1-150400.5.56.1
SUSE Linux Enterprise Micro 5.4curl8.0.1-150400.5.56.1
SUSE Linux Enterprise Micro 5.5curl8.0.1-150400.5.56.1
SUSE Linux Enterprise Module for Basesystem 15 SP5curl8.0.1-150400.5.56.1
SUSE Linux Enterprise Module for Basesystem 15 SP6curl8.6.0-150600.4.12.1
SUSE Linux Enterprise Server 12 SP5-LTSScurl8.0.1-11.98.1
SUSE Linux Enterprise Server 15 SP4-LTSScurl8.0.1-150400.5.56.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5curl8.0.1-11.98.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4curl8.0.1-150400.5.56.1
SUSE Linux Micro 6.0curl8.6.0-4.1
SUSE Linux Micro 6.1curl8.12.1-slfo.1.1_1.1
SUSE Manager Proxy 4.3curl8.0.1-150400.5.56.1
SUSE Manager Server 4.3curl8.0.1-150400.5.56.1
Ubuntu 22.04 LTScurl7.81.0-1ubuntu1.19
Ubuntu 24.04 LTScurl8.5.0-2ubuntu10.5
Wolficurl8.11.0-r0
openSUSE Leap 15.5curl8.0.1-150400.5.56.1
openSUSE Leap 15.6curl8.6.0-150600.4.12.1
openSUSE Leap Micro 5.5curl8.0.1-150400.5.56.1
openSUSE Tumbleweedcurl8.11.0-1.1