CVE-2025-54059
published medium CVSS 3.1 · 4.4melange creates SBOM files in APKs with world-writable permissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chainguard-dev | — | melange>= 0.23.0, < 0.29.5 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250730T213748-1.1 | OPENSUSE-SU-2025:15405-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chainguard-dev | melange | >= 0.23.0, < 0.29.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-276 CWE-276: Incorrect Default Permissions
References
7- https://github.com/chainguard-dev/melange/commit/1b272db2a0bb3441553284cc56d87236b4b64c04
- https://github.com/chainguard-dev/melange/commit/e29494b4a40a91619ec1c87a09003c6d5164cea1
- https://github.com/chainguard-dev/melange/pull/1836
- https://github.com/chainguard-dev/melange/pull/2086
- https://github.com/chainguard-dev/melange/releases/tag/v0.23.0
- https://github.com/chainguard-dev/melange/releases/tag/v0.29.5
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-5662-cv6m-63wh
Provider assertions
2GitHub_M · cna
melange creates SBOM files in APKs with world-writable permissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c813d2d569e0675ccce07afb0bcebadd7a4467343b73f74b27b1ed71167cba78
- Ingested
- 23 Sep 2026, 08:52:52 UTC
- Source record
- Official CVE record