github.com/chainguard-dev/malcontent
Affected
- introduced
0, fixed1.21.0(semver)
Fixed versions
1.21.0
Fix
- Fixed version
1.21.0go get github.com/chainguard-dev/[email protected]
Advisory
Also known as: GO-2026-4583
malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability
Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.
This report is an aggregate of these individual reports for the affected code:
Advisory | Affected File
-- | --GHSA-jjgh-mc5q-gch7 | pkg/action/scan.goGHSA-mwmf-fxh2-w4x7 | pkg/archive/deb.goGHSA-p8j3-rpf5-gwv3 | pkg/archive/gzip.goGHSA-qfh4-7f5v-75gq | pkg/archive/zlib.goGHSA-wxxf-r586-5rf5 | pkg/archive/bzip2.go
Fix: #1354, #1355, #1356, #1361
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting all six of these issues.
Medium Basis: The source's own band: MODERATE
0, fixed 1.21.0 (semver)1.21.0
1.21.0go get github.com/chainguard-dev/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0