Skip to content

vendor: github.com/moby/go-archive v0.3.0 - #3982

Open
thaJeztah wants to merge 1 commit into
docker:masterfrom
thaJeztah:bump_go_archive
Open

vendor: github.com/moby/go-archive v0.3.0#3982
thaJeztah wants to merge 1 commit into
docker:masterfrom
thaJeztah:bump_go_archive

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

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
Update  github.com/moby/go-archive to v0.3.0 to fix CVE-2026-17106 / GHSA-hfg8-hc9c-6c3h

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants