Repository navigation
[Medium] Patch influxdb for CVE-2026-128085 and CVE-2026-128086 by upgrading otel vendor module - #20541
Draft
Sumit Jena (SumitJenaHCL) wants to merge 1 commit into
Draft
[Medium] Patch influxdb for CVE-2026-128085 and CVE-2026-128086 by upgrading otel vendor module#20541Sumit Jena (SumitJenaHCL) wants to merge 1 commit into
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. |
Sumit Jena (SumitJenaHCL)
marked this pull request as ready for review
November 26, 2026 21:52
Sumit Jena (SumitJenaHCL)
marked this pull request as draft
November 26, 2026 21:53
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 influxdb 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. The vendor tarball regeneration steps in the spec comment are updated to match.fix-format-verbs-for-go-1.26.patch (new) (Needed because tests were failing because of upgrade.)
Why it's needed: At the 1.26 language version, the
go vetprintf check thatgo testruns during%checkrejects%qused with an integer or a slice. Two places do that, so thepredicateandv1/services/retentiontests fail to build:The patch backports the matching two hunks from upstream influxdb commit 75f7dfc7, which switches them to
%dand%v. Only message text changes.Why only two of the commit's six files:
go.mod: upstream moves to Go 1.26.3; this PR'sCVE-2026-128085.patchalready raises thegodirective..circleci/config.yml: upstream CI configuration, not used by the RPM build.kit/feature/http_proxy.go,kit/feature/http_proxy_test.go: upstream deletes this unused code becausestaticcheckflagged it after the Go upgrade. The RPM build doesn't runstaticcheck, and thekit/featuretests pass.With the two hunks,
go vetreports nothing for these packages.All 21 patches apply with zero fuzz, and the package builds with
%checkpassing.Change Log
influxdb-2.7.5-vendor-v3.tar.gzDoes this affect the toolchain?
No
Links to CVEs
Test Methodology
RUN_CHECK=ypackage build passed: 135 test binaries passed, 0 failed, 227/227 packages accounted forgo version -m /usr/bin/influxdfrom the built RPM showsgo.opentelemetry.io/otel,otel/sdkandotel/traceat v1.47.0influxd: setup, write and Flux query all succeed