Skip to content

[High] Patch moby-engine for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106 - #18643

Open
jykanase wants to merge 5 commits into
microsoft:fasttrack/3.0from
Kanishk-Bansal:topic_moby-engine-3.0-CVEs
Open

[High] Patch moby-engine for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106#18643
jykanase wants to merge 5 commits into
microsoft:fasttrack/3.0from
Kanishk-Bansal:topic_moby-engine-3.0-CVEs

Conversation

@jykanase

Copy link
Copy Markdown
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

Patch for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106

Change Log
Does this affect the toolchain?

No

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Local Build
Screenshot 2026-08-27 121713
  • Patch application during build
Screenshot 2026-08-27 121856

@jykanase
jykanase requested a review from a team as a code owner August 27, 2026 06:52
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@jykanase
jykanase marked this pull request as draft August 27, 2026 06:52
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Aug 27, 2026
@jykanase

jykanase commented Aug 27, 2026

Copy link
Copy Markdown
Author

CVE-2026-61712:

CVE-2026-61711:

  • Upstream Reference: moby/buildkit@3ea6dd0
  • Following test files are not present in the azl moby-engine-25.0.3 source code:
    client/build_test.go
    client/client_test.go
    client/llb/exec_test.go
    executor/oci/spec_freebsd.go
  • executor/oci/spec_darwin.go, executor/oci/spec_linux.go files do not contain affected code.

CVE-2026-75593:

CVE-2026-17106:

  • Upstream Reference: archive: harden tar extraction against path traversal moby/go-archive#45
  • AZL moby-engine-25.0.3 source code does not contain time_nonwindows.go and time_windows.go
  • Uses pathpkg to avoid old identifier collisions; replaces Go 1.26 APIs such as SplitSeq; adapts the older ID-mapping and timestamp APIs.
  • Filesystem operations are performed through os.Root.

Buddy Build has passed.

@jykanase
jykanase force-pushed the topic_moby-engine-3.0-CVEs branch from 183d92b to 8c2321c Compare August 27, 2026 08:26
@jykanase jykanase changed the title Patch for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106 [High]Patch for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106 Aug 27, 2026
@jykanase jykanase changed the title [High]Patch for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106 [High] Patch moby-engine for CVE-2026-61711, CVE-2026-61712, CVE-2026-75593, CVE-2026-17106 Aug 27, 2026
@jykanase

Copy link
Copy Markdown
Author

Buddy Build after recent changes.

@jykanase
jykanase marked this pull request as ready for review August 31, 2026 09:11
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@jslobodzian

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@akhila-guruju

Akhila Guruju (akhila-guruju) commented Sep 1, 2026

Copy link
Copy Markdown

Regarding CVE-2026-17106,
We might need to include the commit, moby/go-archive@9e6d2c7
PR moby/go-archive#45 on its own is secure but introduces a breaking change: extraction through a pre-existing absolute symlink (e.g. /var/run -> /run from a lower layer) is wrongly rejected with path escapes from parent, which breaks legitimate docker pull / build / cp for common base images (regression moby/moby#53258). 9e6d2c7 fixes that regression without reopening the breakout.

Shipping only moby/go-archive#45 leaves the package secure but functionally broken for downstream users, so both must go in together.

@jykanase
jykanase marked this pull request as draft September 1, 2026 08:33
@jykanase
jykanase force-pushed the topic_moby-engine-3.0-CVEs branch from b88b26a to 02e589b Compare September 1, 2026 11:17
@akhila-guruju

Akhila Guruju (akhila-guruju) commented Sep 1, 2026

Copy link
Copy Markdown

Regression in CVE-2026-17106.patch is fixed after recent changes. Patch LGTM.
Buddy Build after recent changes.

@jykanase
jykanase marked this pull request as ready for review September 1, 2026 12:02
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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

Labels

fasttrack/3.0 PRs Destined for Azure Linux 3.0 Packaging security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants