Chainguard-dev apko
apko has incorrect permission (0666) in /etc/ld.so.cache and other files
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.0high · scored by CNA · CWE-276
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
chainguard-dev apko
- >= 0.27.0, < 0.29.5
Fixed in 0.29.5
Mitigation
Upgrade apko to 0.29.5 or later.
References
- Vendor advisory github.com/chainguard-dev/apko/security/adviso…
- Patch github.com/chainguard-dev/apko/commit/04f37e2d…
- Patch github.com/chainguard-dev/apko/commit/aedb0772…
2 more
- Release notes github.com/chainguard-dev/apko/releases/tag/v0…
- Release notes github.com/chainguard-dev/apko/releases/tag/v0…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.