LowGO-2023-2331CVE-2023-47108GHSA-8pgv-569h-w5rw

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

Published 27 Jun 2024 · Updated 4 Feb 2026

Is your project on an affected go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=0.37.0 <0.46.0
Fixed in
0.46.0
Update to the fixed version for your release line, for example:go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.46.0

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.

Is GO-2023-2331 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.