Update module github.com/moby/go-archive to v0.3.0 [SECURITY] (release-v0.7) - autoclosed - #3507
Conversation
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
|
🤖 Finished Review · ✅ Success · Started 4:11 AM UTC · Completed 4:27 AM UTC Commit: |
ReviewFindingsMedium
|
| @@ -64,7 +64,7 @@ replace github.com/google/go-containerregistry => github.com/conforma/go-contain | |||
|
|
|||
| // Force moby/go-archive to v0.1.0 for compatibility with docker/docker v28.5.2 | |||
There was a problem hiding this comment.
[medium] stale-reference
The comment above the replace directive still reads 'Force moby/go-archive to v0.1.0 for compatibility with docker/docker v28.5.2' and 'v0.2.0 removed archive.Compression type which docker still uses,' but the replacement target has been changed to v0.3.0. The comment is now factually incorrect.
Suggested fix: Update the comment to reflect the new version (v0.3.0) and the actual reason for the pin (CVE-2026-17106 security fix), or remove the comment and replace directive entirely if v0.3.0 restores API compatibility.
|
🤖 Finished Retro · ✅ Success · Started 7:58 AM UTC · Completed 8:16 AM UTC Commit: |
Retro: PR #3507 — moby/go-archive security update (release-v0.7)Workflow: Renovate opened PR #3507 at 04:10 UTC to bump Review qualityThe review agent performed well on this PR:
Evidence for existing issuesAll improvement opportunities identified in this workflow are already tracked by open issues:
No new proposalsThe review agent's behavior was correct within the current system constraints. All identified improvement opportunities — token cost on bot dependency PRs, Renovate autoclosure of security PRs, multi-module update completeness, and retro skipping for mechanical PRs — are covered by existing open issues with clear proposals and validation criteria. |
This PR contains the following updates:
v0.1.0→v0.3.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
moby/go-archive: Crafted tar archive can write outside the extraction directory
CVE-2026-17106 / GHSA-hfg8-hc9c-6c3h
More information
Details
Summary
The tar extraction routines in
moby/go-archive(Unpack,UnpackLayer,Untar/UntarUncompressed, and theApplyLayerhelpers) do not confine filesystem operations to the destination directory. A crafted archive can create or overwrite files outside the intended destination.Details
The extractor decides where each archive entry lands using lexical string checks and then performs the filesystem operation on a path that is resolved by the OS, so a links introduced by the archive can be followed out of the destination directory.
Impact
An attacker who controls the contents of archive can create or overwrite files at arbitrary paths writable by the extracting process.
Workarounds
Only extract trusted archives.
Severity
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
moby/go-archive (github.com/moby/go-archive)
v0.3.0Compare Source
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 theApplyLayerhelpers. 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.1Compare Source
What's Changed
Test and CI changes
Dependency updates
Full Changelog: moby/go-archive@v0.2.0...v0.2.1
v0.2.0Compare Source
What's Changed
Full Changelog: moby/go-archive@v0.1.0...v0.2.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.