ADVISORIES

Go Vulnerability Database

GO-2023-2331

Denial of service in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Details

The grpc Unary Server Interceptor created by the otelgrpc package added the labels net.peer.sock.addr and net.peer.sock.port with unbounded cardinality. This can lead to the server's potential memory exhaustion when many malicious requests are sent. This leads to a denial-of-service.

Affected packages

EcosystemPackageAffected versions
Gogo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
From 0.37.0 before 0.46.0 (fixed in 0.46.0)

References