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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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-CHAINGUARDDEVAPKOPKGBUILD-10843456
  • published20 Jul 2025
  • disclosed18 Jul 2025
  • creditCody Harris

Introduced: 18 Jul 2025

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

How to fix?

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

Overview

Affected versions of this package are vulnerable to Incorrect Default Permissions via the updateCache function in the build_implementation.go file. An attacker can gain unauthorized access to modify critical system files by exploiting overly permissive file permissions.

CVSS Base Scores

version 4.0
version 3.1