Skip to content

fix(CVE-2026-81870): upgrade go.opentelemetry.io/otel/sdk v1.44.0 -> v1.45.0 - #2535

Open
dymurray wants to merge 1 commit into
oadp-devfrom
konveyor/cve-2026-81870-fix-20261105-174913
Open

dymurray wants to merge 1 commit into
oadp-devfrom
konveyor/cve-2026-81870-fix-20261105-174913

Conversation

@dymurray

@dymurray dymurray commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

CVE-2026-81870: OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs

Severity low (CVSS 2.0)
Dependency go.opentelemetry.io/otel/sdk v1.44.0 → go.opentelemetry.io/otel/sdk v1.45.0
Remediation Automatic dependency update (build and tests verified)
Reachability (rgctl) unknown; OpenVEX under_investigation
Trusted Profile Analyzer CVE-2026-81870
Advisories GHSA-8wmf-6v46-5gfg, GO-2026-6505

Remediation report

fix(CVE-2026-81870): upgrade go.opentelemetry.io/otel/sdk v1.44.0 -> v1.45.0

OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs; go.opentelemetry.io/otel/sdk v1.45.0 is the lowest release outside the affected range.

Code changes:
- go.mod, go.sum: required go.opentelemetry.io/otel/sdk@v1.45.0 (no other source changes needed)

Verification:
- go build ./... && go test ./... (no new failures; 6 pre-existing failure(s) unchanged): 11 package(s) ok
- rgctl vuln analyze (before fix): unknown, exploitability not_exploitable (OpenVEX under_investigation)

Refs: CVE-2026-81870, GHSA-8wmf-6v46-5gfg, GO-2026-6505 (reported by Red Hat Trusted Profile Analyzer)

Signed-off-by: Dylan Murray <dymurray@redhat.com>

Opened by MTA cve-remediation from a Red Hat Trusted Profile Analyzer finding.

Summary by CodeRabbit

  • Chores
    • Applied routine maintenance updates. No user-facing behavior changes are included in this release.

…v1.45.0

OpenTelemetry-Go: Exporter config logging may leak endpoint URLs in info logs; go.opentelemetry.io/otel/sdk v1.45.0 is the lowest release outside the affected range.

Code changes:
- go.mod, go.sum: required go.opentelemetry.io/otel/sdk@v1.45.0 (no other source changes needed)

Verification:
- go build ./... && go test ./... (no new failures; 6 pre-existing failure(s) unchanged): 11 package(s) ok
- rgctl vuln analyze (before fix): unknown, exploitability not_exploitable (OpenVEX under_investigation)

Refs: CVE-2026-81870, GHSA-8wmf-6v46-5gfg, GO-2026-6505 (reported by Red Hat Trusted Profile Analyzer)

Signed-off-by: Dylan Murray <dymurray@redhat.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review.

Walkthrough

The module file updates github.com/go-logr/logr, five OpenTelemetry modules, and indirect golang.org/x/sys to newer versions.

Changes

Dependency updates

Layer / File(s) Summary
Update dependency versions
go.mod
Updates github.com/go-logr/logr from v1.4.3 to v1.4.4, five OpenTelemetry modules from v1.44.0 to v1.45.0, and indirect golang.org/x/sys from v0.46.0 to v0.47.0.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: kaovilai

Merge Risk: Minimal · up to f11dc

No concrete merge-blocking issue is established for these dependency upgrades. Merge after normal dependency and build checks pass.

Pre-merge checks: Passed 15

Check name Status Explanation
Title check Passed The title names the CVE and the dependency upgrade (go.opentelemetry.io/otel/sdk v1.44.0 -> v1.45.0). The changeset updates that dependency in go.mod, so the title matches the main change. The title u…
Description check Passed The description follows the repository template in substance. It covers why the change is needed: the CVE, its severity, the advisories, and the affected dependency. It covers how to verify it: the bu…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names Passed The pull request changes only go.mod and go.sum. It adds no Ginkgo or other test titles, so it introduces no unstable or overly specific test names.
Test Structure And Quality Passed PASS: The pull request changes only go.mod and go.sum. It adds no Ginkgo tests or other test code, so the listed test-structure requirements do not apply.
Microshift Test Compatibility Passed PASS: The pull request changes only go.mod and go.sum. It adds no Ginkgo e2e tests or other test code, so it introduces no MicroShift-incompatible test APIs, resources, namespaces, or assumptions.
Single Node Openshift (Sno) Test Compatibility Passed PASS: The pull request changes only go.mod and go.sum. It adds no Ginkgo e2e tests or other test code, so the SNO multi-node compatibility check is not applicable.
Topology-Aware Scheduling Compatibility Passed PASS: The pull request changes only go.mod and go.sum. The diff adds no deployment manifests, operator code, controllers, or scheduling constraints. The topology-aware scheduling check is therefore no…
Ote Binary Stdout Contract Passed PASS. The pull request changes only go.mod and go.sum. It adds no Go source changes, no main or suite setup changes, and no new stdout writes. Existing process-level logging uses the standard log or c…
Ipv6 And Disconnected Network Test Compatibility Passed The pull-request diff changes only go.mod and go.sum. No Go, Ginkgo, or e2e test files are added or modified, so the IPv4 and external-connectivity test conditions do not apply.
No-Weak-Crypto Passed PASS. The pull request changes only go.mod and go.sum. The diff adds no source-code files or crypto-related code, and no added lines contain MD5, SHA-1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, o…
Container-Privileges Passed The pull request changes only go.mod and go.sum. The diff contains no container or Kubernetes manifest and no added privileged settings such as privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, ru…
No-Sensitive-Data-In-Logs Passed PASS. The pull request changes only go.mod and go.sum. It adds no logging code. OpenTelemetry SDK v1.45.0 includes a regression test that verifies user:pass@collector.internal:4318 is absent from th…
Full details: Title check

Explanation

The title names the CVE and the dependency upgrade (go.opentelemetry.io/otel/sdk v1.44.0 -> v1.45.0). The changeset updates that dependency in go.mod, so the title matches the main change. The title uses a conventional-commit prefix and a CVE tag, which are acceptable here.

Full details: Description check

Explanation

The description follows the repository template in substance. It covers why the change is needed: the CVE, its severity, the advisories, and the affected dependency. It covers how to verify it: the build and test command, the test results, and the remediation report. The template headings 'Why the changes were made' and 'How to test the changes made' are not used verbatim. The content for both sections is present under other headings. No linked issue is given, but the finding is linked to the Trusted Profile Analyzer record.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Full details: Topology-Aware Scheduling Compatibility

Explanation

PASS: The pull request changes only go.mod and go.sum. The diff adds no deployment manifests, operator code, controllers, or scheduling constraints. The topology-aware scheduling check is therefore not applicable.

Full details: Ote Binary Stdout Contract

Explanation

PASS. The pull request changes only go.mod and go.sum. It adds no Go source changes, no main or suite setup changes, and no new stdout writes. Existing process-level logging uses the standard log or configured controller-runtime logging and is outside the pull-request diff.

Full details: No-Weak-Crypto

Explanation

PASS. The pull request changes only go.mod and go.sum. The diff adds no source-code files or crypto-related code, and no added lines contain MD5, SHA-1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, or non-constant-time comparison usage.

Full details: Container-Privileges

Explanation

The pull request changes only go.mod and go.sum. The diff contains no container or Kubernetes manifest and no added privileged settings such as privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, runAsRoot, or allowPrivilegeEscalation.

Full details: No-Sensitive-Data-In-Logs

Explanation

PASS. The pull request changes only go.mod and go.sum. It adds no logging code. OpenTelemetry SDK v1.45.0 includes a regression test that verifies user:pass@collector.internal:4318 is absent from the TracerProvider created log, which supports the intended fix. Existing application logs are unchanged and are not caused by this pull request.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 94f0f3de-2264-4270-b7a4-18b9dc2d945a
Commits

Reviewing files that changed from the base of the PR and between 29d17b3 and f11dcc7.

Files ignored due to path filters: 1

  • go.sum is excluded by !**/*.sum
Files selected for processing: 1

  • go.mod

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@openshift-ci
openshift-ci Bot requested review from PrasadJoshi12 and mpryc November 5, 2026 18:23
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 5, 2026
@kaovilai

kaovilai commented Nov 8, 2026

Copy link
Copy Markdown
Member

The ci/prow/5.0-virt-kdm-e2e-test-aws failure on this PR is a known issue on the oadp-dev base branch, unrelated to this dependency bump. The failing spec times out with no VirtualMachineBackup found ... velero.io/dataupload-name=... — that is the pre-existing KubeVirt datamover e2e bug, not a regression from this change.

The fix is in #2531 (e2e test reads the VMB backup type from status.includedVolumes[].type after KubeVirt dropped whole-backup status.type) together with the controller fix in migtools/kubevirt-datamover-controller#255. Once #2531 merges, please re-run the virt-kdm job; the other checks on this PR are unaffected.

Note

Responses generated with Claude (model: GLM 5.3)

@sseago

sseago commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

/retest

@kaovilai

Copy link
Copy Markdown
Member

The ci/prow/5.0-virt-kdm-e2e-test-aws failure on this PR was the known oadp-dev base-branch issue mentioned earlier. The fix has now merged: #2531 (e2e test reads the VMB backup type from status.includedVolumes[].type) and migtools/kubevirt-datamover-controller#255 (controller side), both merged into oadp-dev on Nov 9. Please re-run the virt-kdm job with /test 5.0-virt-kdm-e2e-test-aws (or /retest) — it should pass against the fixed base.

Note

Responses generated with Claude (model: GLM 5.3)

@sseago

sseago commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 11, 2026
@openshift-ci

openshift-ci Bot commented Nov 11, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dymurray, kaovilai, sseago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [dymurray,kaovilai,sseago]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD b479683 and 2 for PR HEAD f11dcc7 in total

@openshift-ci

openshift-ci Bot commented Nov 12, 2026

Copy link
Copy Markdown

@dymurray: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 12, 2026
@openshift-ci

openshift-ci Bot commented Nov 12, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants