Harden absolute-path tar restore against poisoned cache entries #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
cache-action restores archives with
tar -xpP, preserving absolute paths. That matches home-dir cache behavior, but a poisoned cache object can write outside the requested cache paths.Verified
src/lib/tar.jsusestar -xpP -f -during restore.SECURITY.mddocuments absolute-path preservation; no allowlist enforcement is visible.Build
..traversal.