`melange update-cache` has unbounded HTTP download that can exhaust disk in CI in chainguard.dev/melange
`melange update-cache` has unbounded HTTP download that can exhaust disk in CI in chainguard.dev/melange
02 / AFFECTED SOFTWARE
Affected packages
206 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
`melange update-cache` downloads URIs from build configs via `io.Copy` without 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** Thank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.
`melange update-cache` has unbounded HTTP download that can exhaust disk in CI in chainguard.dev/melange
melange allows users to build apk packages using declarative pipelines. In version 0.40.5 and prior, melange update-cache downloads URIs from build configs via io.Copy without 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 runne. Version 0.43.4 contains a patch.
05 / REFERENCES
Further evidence
- https://github.com/chainguard-dev/melange
- https://github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fac8398d23f
- https://github.com/chainguard-dev/melange/pull/2379
- https://github.com/chainguard-dev/melange/releases/tag/v0.43.4
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc
- https://nvd.nist.gov/vuln/detail/CVE-2026-29049
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29049.json