GHSA-7rp8-r62p-q6wc

Suggest an improvement
Source
https://github.com/advisories/GHSA-7rp8-r62p-q6wc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7rp8-r62p-q6wc/GHSA-7rp8-r62p-q6wc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7rp8-r62p-q6wc
Aliases
Downstream
CGA (10)
Published
2026-03-02T22:04:23Z
Modified
2026-07-17T21:13:31Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
`melange update-cache` has unbounded HTTP download that can exhaust disk in CI
Details

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 for discovering and reporting this issue.

Database specific
{
    "cwe_ids": [
        "CWE-400",
        "CWE-918"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-02T22:04:23Z",
    "nvd_published_at": "2026-03-06T07:16:02Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / chainguard.dev/melange

Package

Name
chainguard.dev/melange
View open source insights on deps.dev
Purl
pkg:golang/chainguard.dev/melange

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.43.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7rp8-r62p-q6wc/GHSA-7rp8-r62p-q6wc.json"