{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2024-24791 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.21.12 or 1.22.5.","what":"CVE-2024-24791 is a high-severity denial of service vulnerability in Go standard library net/http, published on 2 Jul 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-24791 and fix it if it is affected.\n\nWhat it is: CVE-2024-24791 is a high-severity denial of service vulnerability in Go standard library net/http, published on 2 Jul 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-24791 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.21.12, 1.22.5\n- stdlib (Go): affected all versions; fixed in 1.21.12, 1.22.5\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-24791/ (Markdown: https://insights.sbomify.com/CVE-2024-24791/index.md)","id":"CVE-2024-24791","markdown":"https://insights.sbomify.com/CVE-2024-24791/index.md","name":"CVE-2024-24791","record":{"aliases":["ALSA-2024:7349","AZL-43068","AZL-78960","AZL-98754","BELL-CVE-2024-24791","BIT-golang-2024-24791","DEBIAN-CVE-2024-24791","GHSA-hw49-2p59-3mhj","GO-2024-2963","MGASA-2024-0261","MINI-3c73-xq4q-9g4p","MINI-3j55-4wvx-94xr","MINI-rcqf-6f74-r4hx","OESA-2024-1952","OESA-2024-1978","OESA-2024-1979","OESA-2024-1980","OESA-2024-2059","OESA-2025-1057","OESA-2025-1058","RHSA-2024:7349","RLSA-2024:7349","SUSE-SU-2024:2294-1","SUSE-SU-2024:2295-1","SUSE-SU-2024:2308-1","SUSE-SU-2024:2309-1","UBUNTU-CVE-2024-24791","openSUSE-SU-2024:14091-1","openSUSE-SU-2024:14098-1","openSUSE-SU-2024:14107-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go standard library","requires_auth":"none","summary":"An attacker can cause denial of service in Go HTTP reverse proxies by exploiting improper handling of 100-continue responses.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an \"Expect: 100-continue\" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending \"Expect: 100-continue\" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail.","ecosystems":["AlmaLinux:8","Bitnami","Go","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.5","openSUSE:Leap 15.6","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":"Denial of service due to improper 100-continue handling in net/http","id":"CVE-2024-24791","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":26,"n_references":4,"next":{"headline":"Panic when parsing invalid palette-color images in golang.org/x/image","id":"CVE-2024-24792"},"packages":[{"ecosystem":"Bitnami","fixed":["1.21.12","1.22.5"],"introduced":["0","1.22.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2024-24791"},{"ecosystem":"Go","fixed":["1.21.12","1.22.5"],"introduced":["0","1.22.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2024-2963"},{"ecosystem":"AlmaLinux:8","fixed":["9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/almalinux/grafana","source":"ALSA-2024:7349"},{"ecosystem":"AlmaLinux:8","fixed":["9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/almalinux/grafana-selinux","source":"ALSA-2024:7349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/redhat/grafana","source":"RHSA-2024:7349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana-debuginfo","purl":"pkg:rpm/redhat/grafana-debuginfo","source":"RHSA-2024:7349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana-debugsource","purl":"pkg:rpm/redhat/grafana-debugsource","source":"RHSA-2024:7349"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana-selinux","purl":"pkg:rpm/redhat/grafana-selinux","source":"RHSA-2024:7349"},{"ecosystem":"Rocky Linux:8","fixed":["0:9.2.10-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"grafana","purl":"pkg:rpm/rocky-linux/grafana?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2024:7349"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["1.22.5-150000.1.21.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/suse/go1.22\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2024:2309-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["1.22.5-150000.1.21.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/suse/go1.22\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2024:2309-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.21.12-1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/suse/go1.21\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:2294-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.22.5-1.15.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/suse/go1.22\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2024:2295-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/opensuse/go1.21\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.22.5-150000.1.21.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/opensuse/go1.22\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:2309-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.21.12-150000.1.39.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/opensuse/go1.21\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2308-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.22.5-150000.1.21.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/opensuse/go1.22\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:2309-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.0.5-1.1"],"introduced":["0"],"last_affected":[],"package":"forgejo","purl":"pkg:rpm/opensuse/forgejo\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14107-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.21.12-1.1"],"introduced":["0"],"last_affected":[],"package":"go1.21","purl":"pkg:rpm/opensuse/go1.21\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14091-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.22.5-1.1"],"introduced":["0"],"last_affected":[],"package":"go1.22","purl":"pkg:rpm/opensuse/go1.22\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14098-1"}],"prev":{"headline":"Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip","id":"CVE-2024-24790"},"products":["net/http"],"published":"2024-07-02","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-04","vendors":["Go standard library"]},"summary":"An attacker can cause denial of service in Go HTTP reverse proxies by exploiting improper handling of 100-continue responses.","url":"https://insights.sbomify.com/CVE-2024-24791/"}