{"answers":{"affected":"3 open source packages ship an affected version, including github.com/chainguard-dev/malcontent.","exploited":"There is no known exploitation of GHSA-54p8-x2m9-c593 in the wild and no public exploit code.","fix":"Upgrade github.com/chainguard-dev/malcontent to 1.21.0 or later.","what":"GHSA-54p8-x2m9-c593 is a denial of service vulnerability in github.com/chainguard-dev/malcontent, published on 2 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-54p8-x2m9-c593 and fix it if it is affected.\n\nWhat it is: GHSA-54p8-x2m9-c593 is a denial of service vulnerability in github.com/chainguard-dev/malcontent, published on 2 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-54p8-x2m9-c593 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/chainguard-dev/malcontent (Go): affected all versions; fixed in 1.21.0\n- github.com/chainguard-dev/malcontent (Go): affected all versions; fixed in 1.21.0\n- github.com/chainguard-dev/malcontent (Go): affected all versions; fixed in 1.21.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/GHSA-54p8-x2m9-c593/ (Markdown: https://insights.sbomify.com/GHSA-54p8-x2m9-c593/index.md)","id":"GHSA-54p8-x2m9-c593","markdown":"https://insights.sbomify.com/GHSA-54p8-x2m9-c593/index.md","name":"GHSA-54p8-x2m9-c593","record":{"aliases":["GO-2026-4583"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go archive library","requires_auth":"none","summary":"Resource leaks in archive extraction paths can exhaust system resources, leading to denial of service for applications using the malcontent library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.\n\nThis report is an aggregate of these individual reports for the affected code:\nAdvisory | Affected File\n-- | --\n`GHSA-jjgh-mc5q-gch7` | `pkg/action/scan.go`\n`GHSA-mwmf-fxh2-w4x7` | `pkg/archive/deb.go`\n`GHSA-p8j3-rpf5-gwv3` | `pkg/archive/gzip.go`\n`GHSA-qfh4-7f5v-75gq` | `pkg/archive/zlib.go`\n`GHSA-wxxf-r586-5rf5` | `pkg/archive/bzip2.go`\n\n**Fix**: #1354, #1355, #1356, #1361\n\n**Acknowledgements**\n\nThank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting all six of these issues.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability","id":"GHSA-54p8-x2m9-c593","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["1.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/chainguard-dev/malcontent","purl":null,"source":"GHSA-54p8-x2m9-c593"},{"ecosystem":"Go","fixed":["1.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"GHSA-54p8-x2m9-c593"},{"ecosystem":"Go","fixed":["1.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"GO-2026-4583"}],"products":null,"published":"2026-03-02","related":[],"sources":[{"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Resource leaks in archive extraction paths can exhaust system resources, leading to denial of service for applications using the malcontent library.","url":"https://insights.sbomify.com/GHSA-54p8-x2m9-c593/"}