{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2024-45336 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.22.11, 1.23.5 or 1.24.0.","what":"CVE-2024-45336 is a medium-severity vulnerability in Go standard library net/http, published on 28 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-45336 and fix it if it is affected.\n\nWhat it is: CVE-2024-45336 is a medium-severity vulnerability in Go standard library net/http, published on 28 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-45336 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.22.11, 1.23.5, 1.24.0\n- stdlib (Go): affected all versions; fixed in 1.22.11, 1.23.5, 1.24.0-rc.2\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-45336/ (Markdown: https://insights.sbomify.com/CVE-2024-45336/index.md)","id":"CVE-2024-45336","markdown":"https://insights.sbomify.com/CVE-2024-45336/index.md","name":"CVE-2024-45336","record":{"aliases":["AZL-55998","AZL-56005","AZL-56058","AZL-78950","AZL-98790","BELL-CVE-2024-45336","BIT-golang-2024-45336","CLEANSTART-2026-HM31104","CLEANSTART-2026-LL13188","DEBIAN-CVE-2024-45336","ECHO-befe-522f-1557","GHSA-7wrw-r4p8-38rx","GO-2025-3420","MINI-2q68-98wq-g6qw","MINI-2w3m-4wx3-6cw7","MINI-62mr-r4xm-ff25","MINI-89xq-274g-r6wj","MINI-8j6x-h8w3-v8gj","MINI-8mpj-x8hm-mcvr","MINI-c6hg-72j8-cw9f","MINI-f678-w2hf-7xgx","MINI-g7jr-fw43-vw55","MINI-gw8h-m4x5-6qm4","MINI-hj7g-56hv-3mmm","MINI-jf22-729g-xwvx","MINI-jhcm-4mpr-vxpw","MINI-mc9f-rhmf-9x7c","MINI-mr33-9827-hx6c","MINI-px4x-r2qf-mvp2","MINI-r859-j56r-24m9","MINI-wcgc-jfhf-w866","RHSA-2025:9514","UBUNTU-CVE-2024-45336"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Go standard library","requires_auth":"none","summary":"Go's HTTP client may leak sensitive headers to unintended domains after specific redirect chains, exposing credentials to attackers.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[],"description":"The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.","ecosystems":["Bitnami","Go","Red Hat:enterprise_linux:10.0"],"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":"Sensitive headers incorrectly sent after cross-domain redirect in net/http","id":"CVE-2024-45336","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":5,"n_references":5,"next":{"headline":"Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto","id":"CVE-2024-45337"},"packages":[{"ecosystem":"Bitnami","fixed":["1.22.11","1.23.5","1.24.0"],"introduced":["0","1.23.0-0","1.24.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2024-45336"},{"ecosystem":"Go","fixed":["1.22.11","1.23.5","1.24.0-rc.2"],"introduced":["0","1.23.0-0","1.24.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2025-3420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["1:0.3.2-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"rhc","purl":"pkg:rpm/redhat/rhc","source":"RHSA-2025:9514"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["1:0.3.2-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"rhc-debuginfo","purl":"pkg:rpm/redhat/rhc-debuginfo","source":"RHSA-2025:9514"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["1:0.3.2-1.el10_0"],"introduced":["0"],"last_affected":[],"package":"rhc-debugsource","purl":"pkg:rpm/redhat/rhc-debugsource","source":"RHSA-2025:9514"}],"prev":{"headline":"Security feature bypass in Trend Micro Antivirus One","id":"CVE-2024-45335"},"products":["net/http"],"published":"2025-01-28","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-18","vendors":["Go standard library"]},"summary":"Go's HTTP client may leak sensitive headers to unintended domains after specific redirect chains, exposing credentials to attackers.","url":"https://insights.sbomify.com/CVE-2024-45336/"}