vendor: github.com/moby/go-archive v0.3.0 - #6964
Conversation
e623b60 to
f3005c5
Compare
full diff: moby/go-archive@v0.2.1...v0.3.0 v0.3.0 This release fixes CVE-2026-17106 / GHSA-hfg8-hc9c-6c3h, where a crafted tar archive could use links to cause extraction operations to create or overwrite files outside the intended destination directory. The issue affected Unpack, UnpackLayer, Untar, UntarUncompressed, and the ApplyLayer helpers. Users should upgrade and avoid extracting untrusted archives with earlier versions. What's Changed * archive: harden tar extraction against path traversal * archive: do not follow reparse points in chtimes * archive: fix creation time updates on Windows * archive: minor cleanups and godoc touch-up * archive: RebaseArchiveEntries: fix archive path rebasing Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
f3005c5 to
10cb1e1
Compare
|
Looking at the BuildKit call path, buildkit/solver/llbsolver/file/unpack.go Lines 16 to 52 in df07618 BuildKit first uses The duplicate containment concern is later on Linux: I would not remove |
Hum maybe we could call |
|
Bench results: https://moby.github.io/buildkit-bench/#/result/20260730-204319
With moby/go-archive#49
|


vendor: github.com/moby/go-archive v0.3.0
full diff: moby/go-archive@v0.2.1...v0.3.0
v0.3.0
This release fixes CVE-2026-17106 / GHSA-hfg8-hc9c-6c3h, where a crafted
tar archive could use links to cause extraction operations to create or
overwrite files outside the intended destination directory.
The issue affected Unpack, UnpackLayer, Untar, UntarUncompressed, and the
ApplyLayer helpers. Users should upgrade and avoid extracting untrusted
archives with earlier versions.
What's Changed