GO-2023-2331

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

At a glance

Published
Updated
CVE
CVE-2023-47108
Aliases
GHSA-8pgv-569h-w5rw

Description

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

PackageVersions
Go · go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcintroduced 0.37.0, fixed 0.46.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database