CVE-2025-54059

Medium

Description

melange allows users to build apk packages using declarative pipelines. Starting in version 0.23.0 and prior to version 0.29.5, SBOM files generated by melange in apks had file system permissions mode 666. This potentially allows an unprivileged user to tamper with apk SBOMs on a running image, potentially confusing security scanners. An attacker could also perform a DoS under special circumstances. Version 0.29.5 fixes the issue.

SeverityMedium
CVSS4.4
Exploit probability—
ProductChainguard.dev/melange
PublishedJul 18, 2025
First seenJul 18, 2025
Weakness typeCWE-276CWE-276

How to fix

Update
  • chainguard.dev/melange0.29.5 or later

Affected products

ProductAffected versionsFixed in
chainguard.dev/melangeGo0.23.0 ≤ v < 0.29.50.29.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.