Skip to content

gomod(deps): bump github.com/moby/go-archive from 0.2.1 to 0.3.2 - #2958

Merged
pPrecel merged 1 commit into
mainfrom
dependabot/go_modules/github.com/moby/go-archive-0.3.2
Aug 4, 2026
Merged

gomod(deps): bump github.com/moby/go-archive from 0.2.1 to 0.3.2#2958
pPrecel merged 1 commit into
mainfrom
dependabot/go_modules/github.com/moby/go-archive-0.3.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/moby/go-archive from 0.2.1 to 0.3.2.

Release notes

Sourced from github.com/moby/go-archive's releases.

v0.3.2

What's Changed

Fix a regression introduced in v0.3.0 that caused archive extraction to fail when paths traversed absolute symlinks inside the destination root, such as var/run -> /run. Absolute symlink targets are now resolved relative to the extraction root while relative symlink escapes remain rejected. moby/go-archive#93

Full Changelog: moby/go-archive@v0.3.1...v0.3.2

v0.3.1

Fixes

This patch release fixes a regression introduced in v0.2.1 where archive extraction could fail when an archive omitted explicit entries for parent directories. For example, extracting etc/dnf/ without a preceding etc/ entry could return mkdirat etc/dnf: no such file or directory.

This prevented affected images from being extracted. Archive extraction now creates implied parent directories for both file and directory entries.

What's Changed

Full Changelog: moby/go-archive@v0.3.0...v0.3.1

v0.3.0

Security

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

Test and CI changes

Full Changelog: moby/go-archive@v0.2.1...v0.3.0

Commits
  • 9e6d2c7 Merge pull request #93 from thaJeztah/fix_absolute_symlinks
  • 4f6cd58 archive: resolve hardlinks through absolute symlinks
  • e564ecc archive: resolve absolute symlinks within extraction root
  • 5bb8a45 Merge pull request #94 from thaJeztah/denoise
  • 1bec7ec archive: Tarballer.Go: suppress io.ErrClosedPipe logs on close
  • 279fa6d Merge pull request #92 from thaJeztah/fix_implied_directories
  • 517985a archive: create implied parents for directory entries
  • 1c23372 Merge pull request #43 from thaJeztah/fix_rebase_from_root
  • 8829a25 RebaseArchiveEntries: fix archive path rebasing
  • c583b20 Merge pull request #90 from thaJeztah/chtimes_nofollow
  • Additional commits viewable in compare view

@dependabot dependabot Bot added area/dependency Issues or PRs related to dependency changes kind/chore Categorizes issue or PR as related to a chore. labels Aug 3, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 3, 2026 19:43
@dependabot dependabot Bot added area/dependency Issues or PRs related to dependency changes kind/chore Categorizes issue or PR as related to a chore. labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

✅ Proposed changes verification passed

This pull request comes with up-to-date documentation and no illegal standard output usages.

Find more detailed information in the verify-pr-code / standards action.

Bumps [github.com/moby/go-archive](https://github.com/moby/go-archive) from 0.2.1 to 0.3.2.
- [Release notes](https://github.com/moby/go-archive/releases)
- [Changelog](https://github.com/moby/go-archive/blob/main/changes_test.go)
- [Commits](moby/go-archive@v0.2.1...v0.3.2)

---
updated-dependencies:
- dependency-name: github.com/moby/go-archive
  dependency-version: 0.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/moby/go-archive-0.3.2 branch from ca88fc2 to e3582bf Compare August 4, 2026 12:15

@pPrecel pPrecel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The e2e-test-k3d failure is a transient infrastructure issue unrelated to this library bump. The build succeeded with github.com/moby/go-archive v0.3.2. The failure was a port-forward timeout when pushing a test image to the in-cluster Docker registry (error creating error stream for port 5000: Timeout occurred). The log even notes: "pushing through portforward may be unstable". No code changes are needed. Approving and setting automerge.

@pPrecel
pPrecel enabled auto-merge (squash) August 4, 2026 12:17
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ Proposed changes verification passed

This pull request comes with up-to-date documentation and no illegal standard output usages.

Find more detailed information in the verify-pr-code / standards action.

1 similar comment
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

✅ Proposed changes verification passed

This pull request comes with up-to-date documentation and no illegal standard output usages.

Find more detailed information in the verify-pr-code / standards action.

@pPrecel
pPrecel merged commit b13b77a into main Aug 4, 2026
20 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/moby/go-archive-0.3.2 branch August 4, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependency Issues or PRs related to dependency changes kind/chore Categorizes issue or PR as related to a chore.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant