Incorrect Default Permissions Affecting chainguard.dev/melange/pkg/build package, versions >=0.23.0 <0.29.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-CHAINGUARDDEVMELANGEPKGBUILD-10847883
  • published20 Jul 2025
  • disclosed18 Jul 2025
  • creditUnknown

Introduced: 18 Jul 2025

NewCVE-2025-54059  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade chainguard.dev/melange/pkg/build to version 0.29.5 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Default Permissions due to world-writable permissions set on SBOM files in the file system. An attacker can modify or delete SBOM files by gaining local access to the running image, which may confuse security scanners or disrupt normal operations.

CVSS Base Scores

version 4.0
version 3.1