{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib.","exploited":"There is no known exploitation of CVE-2024-24788 in the wild and no public exploit code.","fix":"Upgrade golang to 1.22.3 or later.","what":"CVE-2024-24788 is a medium-severity denial of service vulnerability in Go standard library net, published on 8 May 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-24788 and fix it if it is affected.\n\nWhat it is: CVE-2024-24788 is a medium-severity denial of service vulnerability in Go standard library net, published on 8 May 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-24788 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected from 1.22.0-0; fixed in 1.22.3\n- stdlib (Go): affected from 1.22.0-0; fixed in 1.22.3\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-24788/ (Markdown: https://insights.sbomify.com/CVE-2024-24788/index.md)","id":"CVE-2024-24788","markdown":"https://insights.sbomify.com/CVE-2024-24788/index.md","name":"CVE-2024-24788","record":{"aliases":["ALSA-2024:9200","ALSA-2024:9277","AZL-40375","AZL-40436","AZL-40471","AZL-40480","AZL-40517","AZL-79020","AZL-98589","BELL-CVE-2024-24788","BIT-golang-2024-24788","GHSA-2jwv-jmq4-4j3r","GO-2024-2824","MGASA-2024-0181","RHBA-2024:3840","RHSA-2024:9200","RHSA-2024:9277","RLSA-2024:9200","RLSA-2024:9277","UBUNTU-CVE-2024-24788","openSUSE-SU-2024:13990-1","openSUSE-SU-2024:14000-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":"A malformed DNS response causes an infinite loop in Go's net package, leading to denial of service for applications using DNS lookups.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[],"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:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop.","ecosystems":["AlmaLinux:9","Bitnami","Go","Red Hat:enterprise_linux:9::appstream","Rocky Linux:9","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":"Malformed DNS message can cause infinite loop in net","id":"CVE-2024-24788","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":21,"n_references":7,"next":{"headline":"Mishandling of corrupt central directory record in archive/zip","id":"CVE-2024-24789"},"packages":[{"ecosystem":"Bitnami","fixed":["1.22.3"],"introduced":["1.22.0-0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2024-24788"},{"ecosystem":"Go","fixed":["1.22.3"],"introduced":["1.22.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2024-2824"},{"ecosystem":"AlmaLinux:9","fixed":["1.2.10-2.el9"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook","purl":"pkg:rpm/almalinux/oci-seccomp-bpf-hook","source":"ALSA-2024:9277"},{"ecosystem":"AlmaLinux:9","fixed":["4:1.1.13-4.el9"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/almalinux/runc","source":"ALSA-2024:9200"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"go-toolset","purl":"pkg:rpm/redhat/go-toolset","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"golang","purl":"pkg:rpm/redhat/golang","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"golang-bin","purl":"pkg:rpm/redhat/golang-bin","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"golang-docs","purl":"pkg:rpm/redhat/golang-docs","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"golang-misc","purl":"pkg:rpm/redhat/golang-misc","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"golang-src","purl":"pkg:rpm/redhat/golang-src","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.21.10-1.el9_4"],"introduced":["0"],"last_affected":[],"package":"golang-tests","purl":"pkg:rpm/redhat/golang-tests","source":"RHBA-2024:3840"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.10-2.el9"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook","purl":"pkg:rpm/redhat/oci-seccomp-bpf-hook","source":"RHSA-2024:9277"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.10-2.el9"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook-debuginfo","purl":"pkg:rpm/redhat/oci-seccomp-bpf-hook-debuginfo","source":"RHSA-2024:9277"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.10-2.el9"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook-debugsource","purl":"pkg:rpm/redhat/oci-seccomp-bpf-hook-debugsource","source":"RHSA-2024:9277"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["4:1.1.13-4.el9"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/redhat/runc","source":"RHSA-2024:9200"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["4:1.1.13-4.el9"],"introduced":["0"],"last_affected":[],"package":"runc-debuginfo","purl":"pkg:rpm/redhat/runc-debuginfo","source":"RHSA-2024:9200"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["4:1.1.13-4.el9"],"introduced":["0"],"last_affected":[],"package":"runc-debugsource","purl":"pkg:rpm/redhat/runc-debugsource","source":"RHSA-2024:9200"},{"ecosystem":"Rocky Linux:9","fixed":["0:1.2.10-2.el9"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook","purl":"pkg:rpm/rocky-linux/oci-seccomp-bpf-hook?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:9277"},{"ecosystem":"Rocky Linux:9","fixed":["4:1.1.13-4.el9"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/rocky-linux/runc?distro=rocky-linux-9\u0026epoch=4","source":"RLSA-2024:9200"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.0.3-1.1"],"introduced":["0"],"last_affected":[],"package":"forgejo","purl":"pkg:rpm/opensuse/forgejo\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13990-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.0.1-1.1"],"introduced":["0"],"last_affected":[],"package":"traefik","purl":"pkg:rpm/opensuse/traefik\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14000-1"}],"prev":{"headline":"Arbitrary code execution during build on Darwin in cmd/go","id":"CVE-2024-24787"},"products":["net"],"published":"2024-05-08","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":"RHBA"},{"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":"openSUSE"},{"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-02-13","vendors":["Go standard library"]},"summary":"A malformed DNS response causes an infinite loop in Go's net package, leading to denial of service for applications using DNS lookups.","url":"https://insights.sbomify.com/CVE-2024-24788/"}