Incorrect Default Permissions Affecting tw package, versions <0.0.19-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-CHAINGUARDLATEST-TW-10873244
  • published21 Jul 2025
  • disclosed18 Jul 2025

Introduced: 18 Jul 2025

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

How to fix?

Upgrade Chainguard tw to version 0.0.19-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tw package and not the tw package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

apko allows users to build and publish OCI container images built from apk packages. Starting in version 0.27.0 and prior to version 0.29.5, critical files were inadvertently set to 0666, which could likely be abused for root escalation. Version 0.29.5 contains a fix for the issue.