Skip to content

chore(deps): update module github.com/moby/go-archive to v0.3.0 [security] (alauda-v0.70.0) - #209

Open
alaudaa-renovate[bot] wants to merge 1 commit into
alauda-v0.70.0from
renovate/alauda-v0.70.0-go-github.com-moby-go-archive-vulnerability
Open

alaudaa-renovate[bot] wants to merge 1 commit into
alauda-v0.70.0from
renovate/alauda-v0.70.0-go-github.com-moby-go-archive-vulnerability

Conversation

@alaudaa-renovate

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
github.com/moby/go-archive v0.2.0 -> v0.3.0 age confidence

moby/go-archive: Crafted tar archive can write outside the extraction directory in github.com/moby/go-archive

BIT-docker-cli-2026-17106 / CVE-2026-17106 / GHSA-hfg8-hc9c-6c3h / GO-2026-6253

More information

Details

moby/go-archive: Crafted tar archive can write outside the extraction directory in github.com/moby/go-archive

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


moby/go-archive: Crafted tar archive can write outside the extraction directory

BIT-docker-cli-2026-17106 / CVE-2026-17106 / GHSA-hfg8-hc9c-6c3h

More information

Details

Summary

The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) 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 Score: Unknown
  • Vector String: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

moby/go-archive (github.com/moby/go-archive)

v0.3.0

Compare 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 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

Compare Source

What's Changed
Test and CI changes
Dependency updates

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


Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@alaudaa-renovate

Copy link
Copy Markdown
Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/moby/go-archive v0.3.0
go: github.com/aquasecurity/trivy/internal/testutil imports
	github.com/testcontainers/testcontainers-go imports
	github.com/moby/go-archive: github.com/moby/go-archive@v0.3.0: Get "https://build-nexus.alauda.cn/repository/golang/github.com/moby/go-archive/@v/v0.3.0.zip": dial tcp: lookup build-nexus.alauda.cn: i/o timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant