{"answers":{"affected":"3 open source packages ship an affected version, including golang.org/x/image.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24792 exists.","fix":"Upgrade golang.org/x/image to 0.18.0 or later.","what":"CVE-2024-24792 is a high-severity denial of service vulnerability in golang.org/x/image/tiff, published on 27 Jun 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-24792 and fix it if it is affected.\n\nWhat it is: CVE-2024-24792 is a high-severity denial of service vulnerability in golang.org/x/image/tiff, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24792 exists.\n\nAffected packages and fixed versions:\n- golang.org/x/image (Go): affected all versions; fixed in 0.18.0\n- golang.org/x/image (Go): affected all versions; fixed in 0.18.0\n- golang.org/x/image (Go): affected all versions; fixed in 0.18.0\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-24792/ (Markdown: https://insights.sbomify.com/CVE-2024-24792/index.md)","id":"CVE-2024-24792","markdown":"https://insights.sbomify.com/CVE-2024-24792/index.md","name":"CVE-2024-24792","record":{"aliases":["DEBIAN-CVE-2024-24792","GHSA-9phm-fm57-rhg8","GO-2024-2937","UBUNTU-CVE-2024-24792","openSUSE-SU-2024:0224-2","openSUSE-SU-2024:14099-1","openSUSE-SU-2024:14108-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go image library","requires_auth":"none","summary":"Attackers can cause a denial of service by providing malicious TIFF images with invalid color indices to applications using the Go image library.","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":"Parsing a corrupt or malicious image with invalid color indices can cause a panic.","ecosystems":["Go","SUSE:Package Hub 15 SP5","SUSE:Package Hub 15 SP6","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":"weaponised"},"has_fix":true,"headline":"Panic when parsing invalid palette-color images in golang.org/x/image","id":"CVE-2024-24792","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":9,"n_references":3,"next":{"headline":"Use after free in libdicom","id":"CVE-2024-24793"},"packages":[{"ecosystem":"Go","fixed":["0.18.0"],"introduced":["0"],"last_affected":[],"package":"golang.org/x/image","purl":null,"source":"GHSA-9phm-fm57-rhg8"},{"ecosystem":"Go","fixed":["0.18.0"],"introduced":["0"],"last_affected":[],"package":"golang.org/x/image","purl":"pkg:golang/golang.org/x/image","source":"GHSA-9phm-fm57-rhg8"},{"ecosystem":"Go","fixed":["0.18.0"],"introduced":["0"],"last_affected":[],"package":"golang.org/x/image","purl":"pkg:golang/golang.org/x/image","source":"GO-2024-2937"},{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["6.2.8-bp156.2.6.1"],"introduced":["0"],"last_affected":[],"package":"keybase-client","purl":"pkg:rpm/suse/keybase-client\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2024:0224-2"},{"ecosystem":"SUSE:Package Hub 15 SP6","fixed":["6.2.8-bp156.2.6.1"],"introduced":["0"],"last_affected":[],"package":"keybase-client","purl":"pkg:rpm/suse/keybase-client\u0026distro=SUSE%20Package%20Hub%2015%20SP6","source":"openSUSE-SU-2024:0224-2"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["6.2.8-bp156.2.6.1"],"introduced":["0"],"last_affected":[],"package":"keybase-client","purl":"pkg:rpm/opensuse/keybase-client\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2024:0224-2"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["6.2.8-bp156.2.6.1"],"introduced":["0"],"last_affected":[],"package":"keybase-client","purl":"pkg:rpm/opensuse/keybase-client\u0026distro=openSUSE%20Leap%2015.6","source":"openSUSE-SU-2024:0224-2"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.3.0-3.1"],"introduced":["0"],"last_affected":[],"package":"gomuks","purl":"pkg:rpm/opensuse/gomuks\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14099-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.3.1-2.1"],"introduced":["0"],"last_affected":[],"package":"keybase-client","purl":"pkg:rpm/opensuse/keybase-client\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14108-1"}],"prev":{"headline":"Denial of service due to improper 100-continue handling in net/http","id":"CVE-2024-24791"},"products":["golang.org/x/image/tiff"],"published":"2024-06-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["golang.org/x/image"]},"summary":"Attackers can cause a denial of service by providing malicious TIFF images with invalid color indices to applications using the Go image library.","url":"https://insights.sbomify.com/CVE-2024-24792/"}