Repository navigation
[Medium] Patch docker-buildx for CVE-2026-128085 and CVE-2026-128086 by upgrading otel vendor module - #20539
Draft
Sumit Jena (SumitJenaHCL) wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
patch docker-buildx for CVE-2026-128085
Upgraded go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk from v1.44.0 => v1.47.0
This same module bump also fixes CVE-2026-128086. Both CVEs are in
OpenTelemetryand both are fixed in v1.47.0, so upgrading the module closes them together — no separate patch is required. The patch file is named after CVE-2026-128085, and the%changelogentry lists both CVEs.go.opentelemetry.io/otelv1.47.0 requires Go 1.26, soCVE-2026-128085.patchraises thegodirective ingo.modfrom 1.25.0 to 1.26.0, andBuildRequiresis raised togolang >= 1.26. Go's minimum version selection also movesotel/trace,otel/metricandotel/sdk/metricto v1.47.0.CVE-2026-81870.patch (trimmed)
This patch backports upstream opentelemetry-go commit 3a1412d2, first released in v1.45.0. It touches two separately versioned modules:
sdk/tracehunks (batch_span_processor.go,simple_span_processor.go). This PR upgrades the vendoredgo.opentelemetry.io/otel/sdkto v1.47.0, which already contains this change, so these hunks no longer apply.otlptrace/exporter.go,otlptracegrpc/client.go,otlptracehttp/client.go). The OTLP trace exporters aren't part of this upgrade and stay at v1.21.0, which predates the fix, and they are compiled into the shippeddocker-buildxbinary. These hunks stopMarshalLog()from logging the exporter endpoint, theInsecuresetting and the client configuration. They are unchanged from the existing patch.The upstream change to the
zipkinexporter doesn't apply because that exporter isn't vendored. Withotel/sdkv1.47.0 plus the kept hunks, the package has every part of the upstream fix that applies to it.All 19 patches apply with zero fuzz, and the package builds.
Change Log
docker-buildx-0.14.0-govendor-v2.tar.gzDoes this affect the toolchain?
No
Links to CVEs
Test Methodology
%checksectiongo version -mon thedocker-buildxplugin from the built RPM showsgo.opentelemetry.io/otel,otel/sdkandotel/traceat v1.47.0