{"id":"CVE-2025-53945","summary":"apko has incorrect permission (0666) in /etc/ld.so.cache and other files","details":"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.","aliases":["GHSA-x6ph-r535-3vjw","GO-2025-3816"],"modified":"2026-04-10T05:31:01.567309Z","published":"2025-07-18T15:35:17.325Z","related":["CGA-3g3j-8396-2m48","openSUSE-SU-2025:15405-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53945.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-276"]},"references":[{"type":"WEB","url":"https://github.com/chainguard-dev/apko/releases/tag/v0.27.0"},{"type":"WEB","url":"https://github.com/chainguard-dev/apko/releases/tag/v0.29.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53945.json"},{"type":"ADVISORY","url":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-x6ph-r535-3vjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53945"},{"type":"FIX","url":"https://github.com/chainguard-dev/apko/commit/04f37e2d50d5a502e155788561fb7d40de705bd9"},{"type":"FIX","url":"https://github.com/chainguard-dev/apko/commit/aedb0772d6bf6e74d8f17690946dbc791d0f6af3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/chainguard-dev/apko","events":[{"introduced":"0"},{"fixed":"04f37e2d50d5a502e155788561fb7d40de705bd9"}]},{"type":"GIT","repo":"https://github.com/chainguard-dev/apko","events":[{"introduced":"0"},{"fixed":"aedb0772d6bf6e74d8f17690946dbc791d0f6af3"}]},{"type":"GIT","repo":"https://github.com/chainguard-dev/apko","events":[{"introduced":"0"},{"fixed":"61a72971841931d7724fa6b6967e25e32446d371"}]},{"type":"GIT","repo":"https://github.com/chainguard-dev/apko","events":[{"introduced":"0"},{"fixed":"aedb0772d6bf6e74d8f17690946dbc791d0f6af3"}]}],"versions":["0.27.8","v0.1","v0.1.1","v0.1.2","v0.10.0","v0.11.0","v0.11.1","v0.11.2","v0.11.3","v0.12.0","v0.13.0","v0.13.1","v0.13.2","v0.13.3","v0.14.0","v0.14.1","v0.14.2","v0.14.3","v0.14.4","v0.14.5","v0.14.6","v0.14.7","v0.14.8","v0.14.9","v0.15.0","v0.16.0","v0.17.0","v0.18.0","v0.18.1","v0.19.0","v0.19.1","v0.19.2","v0.19.3","v0.19.4","v0.19.5","v0.19.6","v0.19.7","v0.19.8","v0.19.9","v0.2.0","v0.2.1","v0.2.2","v0.20.0","v0.20.1","v0.20.2","v0.21.0","v0.22.1","v0.22.2","v0.22.3","v0.22.4","v0.22.5","v0.22.6","v0.22.7","v0.23.0","v0.24.0","v0.25.0","v0.25.1","v0.25.2","v0.25.3","v0.25.4","v0.25.5","v0.25.6","v0.25.7","v0.26.0","v0.26.1","v0.27.0","v0.27.1","v0.27.2","v0.27.3","v0.27.4","v0.27.5","v0.27.6","v0.27.7","v0.27.9","v0.28.0","v0.29.0","v0.29.1","v0.29.2","v0.29.3","v0.29.4","v0.3.0","v0.3.1","v0.3.2","v0.3.3","v0.4.0","v0.5.0","v0.6.0","v0.7.0","v0.7.1","v0.7.2","v0.7.3","v0.8.0","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53945.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L"}]}