Bump otlptracehttp to v1.43.0 to fix unbounded HTTP response body read#2727
Merged
AndreKurait merged 1 commit intoopensearch-project:mainfrom Apr 15, 2026
Merged
Conversation
…y read (CVE) Addresses Dependabot alert opensearch-project#386: OTLP HTTP exporters read unbounded HTTP response bodies, enabling memory exhaustion via a malicious collector endpoint. Bumps go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.40.0 to 1.43.0 which includes the fix from open-telemetry/opentelemetry-go#8108. Also aligns otlptrace and stdoutmetric exporters to v1.43.0 for consistency. Signed-off-by: Andre Kurait <andrekurait@gmail.com>
26a11ca to
9d2b76a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2727 +/- ##
============================================
- Coverage 73.51% 73.50% -0.01%
Complexity 106 106
============================================
Files 722 722
Lines 33505 33505
Branches 2933 2930 -3
============================================
- Hits 24630 24628 -2
- Misses 7534 7536 +2
Partials 1341 1341
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jugal-chauhan
approved these changes
Apr 15, 2026
AndreKurait
added a commit
to AndreKurait/opensearch-migrations
that referenced
this pull request
Apr 15, 2026
…http-unbounded-read Bump otlptracehttp to v1.43.0 to fix unbounded HTTP response body read
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.
Summary
Fixes Dependabot alert opentelemetry-go: OTLP HTTP exporters read unbounded HTTP response bodies #386.
The OTLP HTTP trace exporter reads
resp.Bodyviaio.Copyinto abytes.Bufferwithout a size cap on both success and error paths. A malicious collector endpoint can exploit this for memory exhaustion (OOM). Fixed upstream in open-telemetry/opentelemetry-go#8108.Changes
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp: 1.40.0 → 1.43.0 (security fix)go.opentelemetry.io/otel/exporters/otlp/otlptrace: 1.40.0 → 1.43.0 (transitive)go.opentelemetry.io/otel/exporters/stdout/stdoutmetric: 1.40.0 → 1.43.0 (aligned)Verification
go build ./...passesgo mod tidyclean