{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-9681 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-9681 is a medium-severity vulnerability in Haxx Curl, published on 6 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9681 and fix it if it is affected.\n\nWhat it is: CVE-2024-9681 is a medium-severity vulnerability in Haxx Curl, published on 6 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-9681 in the wild and no public exploit code.\n\nAffected product: Haxx Curl. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-9681/ (Markdown: https://insights.sbomify.com/CVE-2024-9681/index.md)","id":"CVE-2024-9681","markdown":"https://insights.sbomify.com/CVE-2024-9681/index.md","name":"CVE-2024-9681","record":{"aliases":["ALPINE-CVE-2024-9681","AZL-52335","AZL-52347","AZL-52402","AZL-52405","AZL-52414","AZL-52426","AZL-52444","AZL-52449","BELL-CVE-2024-9681","CLEANSTART-2026-SH97869","CLSA-2025-1764773365","CLSA-2026-1767628458","CURL-CVE-2024-9681","DEBIAN-CVE-2024-9681","ECHO-0664-e7e6-550e","GHSA-g337-g667-mjvw","JLSEC-2026-419","MGASA-2024-0360","MINI-vgh4-22cx-ffr7","OESA-2024-2388","OESA-2024-2389","OESA-2024-2472","OESA-2024-2473","ROOT-OS-DEBIAN-11-CVE-2024-9681","SUSE-SU-2024:3925-1","SUSE-SU-2024:3926-1","SUSE-SU-2024:3927-1","SUSE-SU-2024:3927-2","SUSE-SU-2025:20083-1","UBUNTU-CVE-2024-9681","USN-7104-1","openSUSE-SU-2024:14476-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"curl library","requires_auth":"none","summary":"Attackers can manipulate HSTS cache entries via subdomain headers, causing curl to incorrectly enforce or drop HTTPS, leading to potential downgrade attacks or service unavailability.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"curl","cpe":[{"product":"curl","vendor":"haxx"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"}],"description":"When curl is asked to use HSTS, the expiry time for a subdomain might\noverwrite a parent domain's cache entry, making it end sooner or later than\notherwise intended.\n\nThis affects curl using applications that enable HSTS and use URLs with the\ninsecure `HTTP://` scheme and perform transfers with hosts like\n`x.example.com` as well as `example.com` where the first host is a subdomain\nof the second host.\n\n(The HSTS cache either needs to have been populated manually or there needs to\nhave been previous HTTPS accesses done as the cache needs to have entries for\nthe domains involved to trigger this problem.)\n\nWhen `x.example.com` responds with `Strict-Transport-Security:` headers, this\nbug can make the subdomain's expiry timeout *bleed over* and get set for the\nparent domain `example.com` in curl's HSTS cache.\n\nThe result of a triggered bug is that HTTP accesses to `example.com` get\nconverted to HTTPS for a different period of time than what was asked for by\nthe origin server. If `example.com` for example stops supporting HTTPS at its\nexpiry time, curl might then fail to access `http://example.com` until the\n(wrongly set) timeout expires. This bug can also expire the parent's entry\n*earlier*, thus making curl inadvertently switch back to insecure HTTP earlier\nthan otherwise intended.","ecosystems":["SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Installer Updates 15 SP4","SUSE:Linux Enterprise Installer Updates 15 SP5","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Micro 6.0","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Leap Micro 5.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"HSTS subdomain overwrites parent cache entry","id":"CVE-2024-9681","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"haxx:curl","products":["haxx:curl"],"type":"security_feature_bypass","year":"2024"},"n_packages":22,"n_references":3,"next":{"headline":"Cross-site scripting in Royal Addons for Elementor – Addons and Templates Kit for Elementor","id":"CVE-2024-9682"},"packages":[{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Installer Updates 15 SP4","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Installer%20Updates%2015%20SP4","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Installer Updates 15 SP5","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Installer%20Updates%2015%20SP5","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["8.6.0-150600.4.12.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2024:3925-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["8.0.1-11.98.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2024:3927-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["8.0.1-11.98.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2024:3927-2"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["8.0.1-11.98.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2024:3927-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["8.0.1-11.98.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2024:3927-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["8.6.0-4.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:20083-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/suse/curl\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/opensuse/curl\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["8.6.0-150600.4.12.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/opensuse/curl\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:3925-1"},{"ecosystem":"openSUSE:Leap Micro 5.5","fixed":["8.0.1-150400.5.56.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/opensuse/curl\u0026distro=openSUSE%20Leap%20Micro%205.5","source":"SUSE-SU-2024:3926-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["8.11.0-1.1"],"introduced":["0"],"last_affected":[],"package":"curl","purl":"pkg:rpm/opensuse/curl\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14476-1"}],"prev":{"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680"},"products":["curl"],"published":"2024-11-06","related":[{"cvss_score":9.8,"headline":"Negotiate ambient user conn reuse","id":"CVE-2026-19931","kev_date_added":null,"published":"2026-09-06"},{"cvss_score":9.8,"headline":"HTTP/2 stream-dependency tree UAF","id":"CVE-2026-10536","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"cross-origin Digest auth state leak","id":"CVE-2026-11856","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"SASL double-free","id":"CVE-2026-8925","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"stale proxy password leak","id":"CVE-2026-9079","kev_date_added":null,"published":"2026-07-03"},{"cvss_score":9.8,"headline":"Code injection in curl","id":"CVE-2016-4606","kev_date_added":null,"published":"2020-02-21"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2016-9953","kev_date_added":null,"published":"2018-03-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["curl"]},"summary":"Attackers can manipulate HSTS cache entries via subdomain headers, causing curl to incorrectly enforce or drop HTTPS, leading to potential downgrade attacks or service unavailability.","url":"https://insights.sbomify.com/CVE-2024-9681/"}