~ / search / GHSA-fpg8-7664-jc5q

GHSA-fpg8-7664-jc5q

melange: Incomplete package integrity verification allows data section substitution

Source: GitHub Advisory Database (reviewed) High CVE-2026-54174

Packages

EcosystemPackageAffectedFixed in
Go chainguard.dev/apko < 1.2.9 1.2.9
Go chainguard.dev/melange < 0.50.4 0.50.4

Details

As written in the advisory (Markdown source, shown as plain text).

Previously, Apko verified the control section hash (`.PKGINFO` etc.) against the signed `APKINDEX`, but never verified the data section hash (the actual package files that get installed). An attacker who could compromise a mirror, poison a cache, or MITM a package fetch could substitute arbitrary file contents while the control hash check still passed.

References

External links from the advisory. They lead to third-party sites.