Advisory

GO-2023-2331

Also known as: CVE-2023-47108, GHSA-8pgv-569h-w5rw

Summary

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.

Severity

Not rated by the source.

Dates

Published
2024-06-27 18:00 UTC
Modified
2026-02-04 04:40 UTC

Affected packages and fixes

go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Go · All systems

Affected

  • introduced 0.37.0, fixed 0.46.0 (semver)

Fixed versions

0.46.0

Fix

  • Fixed version 0.46.0
    go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences