Vulnerability

CVE-2023-47108

highCVSS 3.1 7.5Published 10 Nov 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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`.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Opentelemetry opentelemetry

Weakness type

References

  • github.com /open-telemetry/opentelemetry-go-contrib/blob/9d4eb7e770603…
  • github.com /open-telemetry/opentelemetry-go-contrib/blob/instrumentati…
  • github.com /open-telemetry/opentelemetry-go-contrib/commit/04c5dcbb5b3…
  • github.com /open-telemetry/opentelemetry-go-contrib/commit/b44dfc9092b…
  • github.com /open-telemetry/opentelemetry-go-contrib/pull/4322
  • github.com /open-telemetry/opentelemetry-go-contrib/security/advisorie…
  • pkg.go.dev /go.opentelemetry.io/otel/metric/noop

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning