Skip to content

CVE-2023-47108 DoS vulnerability in otelgrpc (uncontrolled resource consumption) due to unbound cardinality metrics

HighCVSS 7.5 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Ubuntu

Description

OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. Starting in version 0.37.0 and prior to version 0.46.0, the grpc Unary Server Interceptor out of the box adds labels net.peer.sock.addr and net.peer.sock.port that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent. An attacker can easily flood the peer address and port for requests. Version 0.46.0 contains a fix for this issue. As a workaround to stop being affected, a view removing the attributes can be used. The other possibility is to disable grpc metrics instrumentation by passing otelgrpc.WithMeterProvider option with noop.NewMeterProvider.

Upgrade path

6 packages: 2 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/golang-opentelemetry-contrib(Ubuntu 25.10) = 0.56.0-5; All versions No fix listed No fix yet
ubuntu/golang-opentelemetry-contrib(Ubuntu 26.04) = 0.56.0-5; All versions No fix listed No fix yet
ubuntu/golang-opentelemetry-contrib(Ubuntu 26.10) = 0.56.0-5; = 1.43.0-1; All versions No fix listed No fix yet
@opentelemetry opentelemetry < 0.46.0 0.46.0 Fixed
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc(Go) >= 0.37.0, < 0.46.0 0.46.0 Fixed
open-telemetry opentelemetry-go-contrib = >= 0.37.0, < 0.46.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc(Go) >= 0.37.0, < 0.46.0 0.46.0
open-telemetry opentelemetry-go-contrib = >= 0.37.0, < 0.46.0 No fix listed
@opentelemetry opentelemetry < 0.46.0 0.46.0
ubuntu/golang-opentelemetry-contrib(Ubuntu:26.04) All versions No fix listed
ubuntu/golang-opentelemetry-contrib(Ubuntu:26.10) All versions No fix listed
ubuntu/golang-opentelemetry-contrib(Ubuntu:25.10) All versions No fix listed
ubuntu/golang-opentelemetry-contrib(Ubuntu:25.10) = 0.56.0-5 No fix listed
ubuntu/golang-opentelemetry-contrib(Ubuntu:26.10) = 0.56.0-5 No fix listed
ubuntu/golang-opentelemetry-contrib(Ubuntu:26.10) = 1.43.0-1 No fix listed
ubuntu/golang-opentelemetry-contrib(Ubuntu:26.04) = 0.56.0-5 No fix listed

References