GHSA-54p8-x2m9-c593
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by GitHub
Published
Last changed
Also known as
GO-2026-4583

Description

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:

AdvisoryAffected File
GHSA-jjgh-mc5q-gch7pkg/action/scan.go
GHSA-mwmf-fxh2-w4x7pkg/archive/deb.go
GHSA-p8j3-rpf5-gwv3pkg/archive/gzip.go
GHSA-qfh4-7f5v-75gqpkg/archive/zlib.go
GHSA-wxxf-r586-5rf5pkg/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.

Affected

Product or packageVersionsReported by
github.com/chainguard-dev/malcontent (Go)before 1.21.0GitHub Advisory Database, Go Vulnerability Database

Classification

What each source says

GitHub Advisory Database

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:

AdvisoryAffected File
GHSA-jjgh-mc5q-gch7pkg/action/scan.go
GHSA-mwmf-fxh2-w4x7pkg/archive/deb.go
GHSA-p8j3-rpf5-gwv3pkg/archive/gzip.go
GHSA-qfh4-7f5v-75gqpkg/archive/zlib.go
GHSA-wxxf-r586-5rf5pkg/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.

Go Vulnerability Database

malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability in github.com/chainguard-dev/malcontent

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-54p8-x2m9-c593 changed 2026-03-23CC-BY-4.0
Go Vulnerability DatabaseGO-2026-4583 changed 2026-03-23CC-BY-4.0