Live threats

All CVEs / Opentelemetry

CVE-2023-47108Opentelemetry

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Nov 10, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Opentelemetry.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc ≥ 0.37.0 < 0.46.0 0.46.0 go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.46.0
Go go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc ≥ 0.37.0 < 0.46.0 0.46.0 go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.46.0

Per OSV / GitHub Advisories (GHSA-8pgv-569h-w5rw, GO-2023-2331). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
opentelemetryopentelemetry< 0.46.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.