`melange update-cache` has unbounded HTTP download that can exhaust disk in CI
Moderate severity
GitHub Reviewed
Published
Mar 2, 2026
in
chainguard-dev/melange
•
Updated Mar 6, 2026
Description
Published to the GitHub Advisory Database
Mar 2, 2026
Reviewed
Mar 2, 2026
Published by the National Vulnerability Database
Mar 6, 2026
Last updated
Mar 6, 2026
melange update-cachedownloads URIs from build configs viaio.Copywithout any size limit or HTTP client timeout (pkg/renovate/cache/cache.go). An attacker-controlled URI in a melange config can cause unbounded disk writes, exhausting disk on the build runner. Affected versions <= 0.40.5.Fix: Merged
Acknowledgements
melange thanks Oleh Konko from 1seal for discovering and reporting this issue.
References