Skip to content

*: bump go.opentelemetry.io/otel/sdk to v1.43.0 to fix CVE-2026-24051 (#4884)#5013

Merged
ti-chi-bot[bot] merged 1 commit into
pingcap:release-8.5-20260129-v8.5.5from
wlwilliamx:fix/cherry-pick-pr-4884-release-8.5.5
May 8, 2026
Merged

*: bump go.opentelemetry.io/otel/sdk to v1.43.0 to fix CVE-2026-24051 (#4884)#5013
ti-chi-bot[bot] merged 1 commit into
pingcap:release-8.5-20260129-v8.5.5from
wlwilliamx:fix/cherry-pick-pr-4884-release-8.5.5

Conversation

@wlwilliamx
Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

Issue Number: ref #4889

This cherry-picks #4884 to release-8.5-20260129-v8.5.5.

This PR upgrades go.opentelemetry.io/otel/sdk to v1.43.0 to address upstream OpenTelemetry SDK PATH hijacking vulnerabilities:

What is changed and how it works?

This PR updates the OpenTelemetry SDK and matching modules used by the Go module graph:

  • go.opentelemetry.io/otel/sdk: v1.24.0 -> v1.43.0
  • go.opentelemetry.io/otel: v1.24.0 -> v1.43.0
  • go.opentelemetry.io/otel/metric: v1.24.0 -> v1.43.0
  • go.opentelemetry.io/otel/trace: v1.24.0 -> v1.43.0
  • golang.org/x/sys: v0.38.0 -> v0.42.0
  • github.com/go-logr/logr: v1.4.1 -> v1.4.3
  • github.com/stretchr/testify: v1.10.0 -> v1.11.1

go mod tidy also adds go.opentelemetry.io/auto/sdk v1.2.1 as an indirect dependency.

Check List

Tests

  • Manual test
go mod tidy
make cdc

Questions

Will it cause performance regression or break compatibility?

No performance regression is expected. This is a dependency-only change with no TiCDC source-code changes.

Do you need to update user documentation, design documentation or monitoring documentation?

No.

Release note

None

…idy to pull in and update other dependencies

(cherry picked from commit 83b06e6)
@ti-chi-bot ti-chi-bot Bot added the release-note-none Denotes a PR that doesn't merit a release note. label May 8, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4ce2c043-8ce3-4344-8593-2b7ac514e025

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ti-chi-bot ti-chi-bot Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 8, 2026
@wlwilliamx wlwilliamx requested a review from lidezhu May 8, 2026 10:36
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several Go dependencies, including testify, x/sys, logr, and OpenTelemetry core modules. Feedback indicates a potential issue where OpenTelemetry core versions are out of sync with OTLP exporters and instrumentation packages, which may cause build failures or runtime panics due to internal API changes.

Comment thread go.mod
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel v1.43.0 // indirect
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

OpenTelemetry core modules are updated to v1.43.0, but OTLP exporters (v1.22.0) and instrumentation packages (v0.49.0) remain on older versions. These components are tightly coupled via internal packages; mismatched versions frequently cause build failures or runtime panics due to internal API changes. It is highly recommended to sync all OpenTelemetry-related dependencies (core, exporters, and contrib) to matching versions to ensure stability and completeness of the update.

@wlwilliamx
Copy link
Copy Markdown
Collaborator Author

/test all

@ti-chi-bot ti-chi-bot Bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels May 8, 2026
@ti-chi-bot ti-chi-bot Bot added the lgtm label May 8, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 8, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: asddongmen, lidezhu

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:

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

@ti-chi-bot ti-chi-bot Bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label May 8, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 8, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-05-08 10:38:31.853974069 +0000 UTC m=+436984.727324031: ☑️ agreed by lidezhu.
  • 2026-05-08 10:39:51.114134307 +0000 UTC m=+437063.987484269: ☑️ agreed by asddongmen.

@wlwilliamx
Copy link
Copy Markdown
Collaborator Author

/retest

@ti-chi-bot ti-chi-bot Bot merged commit 2d2b56a into pingcap:release-8.5-20260129-v8.5.5 May 8, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants