Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| chainguard-dev / melange | affected < 0.43.4 |
CWE
CWE-400, CWE-918
References
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc
- https://github.com/chainguard-dev/melange/pull/2379
- https://github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fac8398d23f
- https://github.com/chainguard-dev/melange/releases/tag/v0.43.4
ADP enrichment
No English description supplied.
No references supplied.