Skip to content

build(deps): bump github.com/moby/go-archive from 0.2.0 to 0.3.0 in /examples - #665

Merged
ImLunaHey merged 2 commits into
mainfrom
dependabot/go_modules/examples/github.com/moby/go-archive-0.3.0
Nov 18, 2026
Merged

ImLunaHey merged 2 commits into
mainfrom
dependabot/go_modules/examples/github.com/moby/go-archive-0.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/moby/go-archive from 0.2.0 to 0.3.0.

Release notes

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

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

v0.2.1

What's Changed

... (truncated)

Commits
  • 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
  • a0576cb archive: do not follow reparse points in chtimes
  • b0d5baf archive: add test for unexpected reparse points in chtimes
  • c23e4e5 Merge pull request #79 from thaJeztah/test_chtimes
  • aa1541a archive: fix creation time updates on Windows
  • c68e60d archive: add Windows creation time test
  • a11565d Merge pull request #91 from thaJeztah/breakout_unwrap
  • b680a61 Merge pull request #89 from moby/dependabot/github_actions/codeql-actions-ba9...
  • Additional commits viewable in compare view


Note

Low Risk
Lockfile-only indirect dependency bump in the examples module; security-relevant but no code paths changed in this repo.

Overview
Updates the examples Go module to use github.com/moby/go-archive v0.3.0 (from v0.2.0) via refreshed go.mod / go.sum lockfile entries only—no application source changes.

This pulls in upstream hardening for tar/archive extraction (path traversal / link breakout), including the fix for CVE-2026-17106 affecting Unpack / Untar and related helpers when handling untrusted archives.

Reviewed by Cursor Bugbot for commit 148dd09. Bugbot is set up for automated code reviews on this repo. Configure here.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 7, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Note

🤖 Cursor Grok 4.6 responding on behalf of Jacob Gillespie

Risk: low. Cursor Bugbot completed successfully with no findings that need human review, so this automation is approving. The change is a narrow examples lockfile bump of an indirect dependency.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@claude claude Bot 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.

LGTM. This is a routine indirect dependency bump in the examples module.

What was reviewed:

  • examples/go.mod and examples/go.sum agree. The v0.2.0 h1 and /go.mod entries are swapped for v0.3.0, and nothing else changed.
  • examples replaces github.com/depot/cli with ../, and the root module still requires go-archive v0.2.0. Go picks the higher version, so the examples build gets v0.3.0 and the root module's compression import compiles against it there.
  • The root go.mod/go.sum still pin v0.2.0, so the advisory fix only reaches the examples module unless the root gets its own bump.
Extended reasoning...

The change is a 3-line edit to examples/go.mod and examples/go.sum that bumps the indirect dependency github.com/moby/go-archive from v0.2.0 to v0.3.0. It changes no source code and no security-sensitive code paths; the new version is the one carrying an upstream tar-extraction hardening fix. The require line and checksum entries match each other. I couldn't check the new checksums against the Go checksum database in this session, but the Go toolchain does that at download. There is no CODEOWNERS file and no prior review activity, and the mechanical nature of the bump decided approval.

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/examples/github.com/moby/go-archive-0.3.0 branch from f553d4c to 8d4c35a Compare November 8, 2026 22:50
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/examples/github.com/moby/go-archive-0.3.0 branch from 8d4c35a to 7c85450 Compare November 17, 2026 09:51
@ImLunaHey
ImLunaHey merged commit fa95809 into main Nov 18, 2026
13 checks passed
@ImLunaHey
ImLunaHey deleted the dependabot/go_modules/examples/github.com/moby/go-archive-0.3.0 branch November 18, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant