CVE-2025-53945
Wolfi vulnerability analysis and mitigation

Overview

CVE-2025-53945 affects apko, a tool that allows users to build and publish OCI container images built from apk packages. The vulnerability was discovered in version 0.27.0 and fixed in version 0.29.5. The issue involves critical files being inadvertently set to 0666 permissions, which could potentially be exploited for root escalation (NVD, GitHub Advisory).

Technical details

The vulnerability was introduced in commit 04f37e2 when implementing /etc/ld.so.cache generation functionality. The issue stems from the file being created with os.Create internally, which sets permissions to 0666 (read-write for all users). The CVSS v3.1 base score is 7.0 (High) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L, indicating local access required but high potential impact (GitHub Advisory).

Impact

The vulnerability allows local unprivileged users to add additional directories including dynamic libraries to the dynamic loader path. An attacker could exploit this by placing a malicious library in a directory they control, potentially leading to root escalation (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 0.29.5 with commit aedb077, which fixes the file permissions by changing them to 0644. Users should upgrade to version 0.29.5 or later to address this security issue (GitHub Advisory).

Community reactions

The vulnerability was responsibly disclosed by Cody Harris from H2O.ai, demonstrating active security research in the container image building ecosystem (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-66506HIGH7.5
  • PodmanPodman
  • golang-github-sigstore-fulcio
NoYesDec 04, 2025
CVE-2025-66490MEDIUM6.9
  • WolfiWolfi
  • traefik
NoYesDec 09, 2025
CVE-2025-66491MEDIUM5.9
  • WolfiWolfi
  • github.com/traefik/traefik/v3
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management