Description
OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to 1.43.0, the otlp HTTP exporters (traces/metrics/logs) read the full HTTP response body into an in-memory bytes.Buffer without a size cap. This is exploitable for memory exhaustion when the configured collector endpoint is attacker-controlled (or a network attacker can mitm the exporter connection). This vulnerability is fixed in 1.43.0.
Problem types
CWE-789: Memory Allocation with Excessive Size Value
Product status
References
github.com/...try-go/security/advisories/GHSA-w8rr-5gcm-pp58
github.com/open-telemetry/opentelemetry-go/pull/8108