Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/chainguard-dev/malcontent
  4. ›
  5. GHSA-54p8-x2m9-c593

GHSA-54p8-x2m9-c593: malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability

March 2, 2026

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.

References

  • github.com/advisories/GHSA-54p8-x2m9-c593
  • github.com/chainguard-dev/malcontent
  • github.com/chainguard-dev/malcontent/pull/1354
  • github.com/chainguard-dev/malcontent/pull/1355
  • github.com/chainguard-dev/malcontent/pull/1356
  • github.com/chainguard-dev/malcontent/pull/1361
  • github.com/chainguard-dev/malcontent/security/advisories/GHSA-54p8-x2m9-c593

Code Behaviors & Features

Detect and mitigate GHSA-54p8-x2m9-c593 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.21.0

Fixed versions

  • 1.21.0

Solution

Upgrade to version 1.21.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/chainguard-dev/malcontent/GHSA-54p8-x2m9-c593.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:01 +0000.