Advisory

GHSA-54p8-x2m9-c593

Also known as: GO-2026-4583

Summary

malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability

Details

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.go
GHSA-mwmf-fxh2-w4x7 | pkg/archive/deb.go
GHSA-p8j3-rpf5-gwv3 | pkg/archive/gzip.go
GHSA-qfh4-7f5v-75gq | pkg/archive/zlib.go
GHSA-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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-02 18:48 UTC
Modified
2026-03-23 04:56 UTC

Affected packages and fixes

github.com/chainguard-dev/malcontent

Go · All systems

Affected

  • introduced 0, fixed 1.21.0 (semver)

Fixed versions

1.21.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences