CVE-2023-47108
otelgrpc DoS vulnerability due to unbound cardinality metrics
Reported by github_m · Published November 10, 2023
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is fixed in 0.46.0 (Go Modules)
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`.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc | Go Modules | 0.46.0 |
| kubevela | Chainguard | 1.9.7-r3 |
| temporal-server | Wolfi | 1.23.0-r0 |
| metrics-server | Chainguard | 0.8.0-r4 |
| kubescape | Chainguard | 3.0.3-r1 |
| kubernetes-fips-1.29 | Chainguard | 1.29.15-r2 |
| temporal | Wolfi | 0.11.0-r4 |
| keda-2.11 | Chainguard | 2.11.2-r8 |
| kubescape | Wolfi | 3.0.3-r1 |
| cert-manager-1.13 | Wolfi | 1.13.2-r1 |
| k3s | Chainguard | 1.28.3-r2 |
| cluster-autoscaler-fips-1.28 | Chainguard | 1.28.0-r6 |
41 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| open-telemetry | opentelemetry-go-contrib | >= 0.37.0, < 0.46.0 |
| chainguard | kubevela | 0 |
| wolfi | temporal-server | 0 |
| chainguard | metrics-server | 0 |
| chainguard | kubescape | 0 |
| chainguard | kubernetes-fips-1.29 | 0 |
| wolfi | temporal | 0 |
| chainguard | keda-2.11 | 0 |
| wolfi | kubescape | 0 |
| wolfi | cert-manager-1.13 | 0 |
| chainguard | k3s | 0 |
| chainguard | cluster-autoscaler-fips-1.28 | 0 |
| chainguard | cri-tools | 0 |
| chainguard | temporal-fips | 0 |
| wolfi | envoy-ratelimit | 0 |
| chainguard | cert-manager-1.11 | 0 |
| go.opentelemetry.io | contrib/instrumentation/google.golang.org/grpc/otelgrpc | 0.37.0 |
| chainguard | temporal-server | 0 |
| wolfi | kubevela | 0 |
| chainguard | prometheus-adapter-0.10 | 0 |
…and 57 more
Timeline
- Nov 10, 2023 CVE Published
- Nov 11, 2023 EPSS Score (30 in total, the first dated here)
- Jan 28, 2026 Security Advisory (129 in total, the first dated here)
- Jul 31, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (120 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-47108
vulnetix vdb fixes CVE-2023-47108
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-47108/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-8pgv-569h-w5rw x_refsource_CONFIRM
- https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4322 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-go-contrib/commit/04c5dcbb5b35f14b4e6793b245919c72addbc7d0 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-go-contrib/commit/b44dfc9092b157625a5815cb437583cee663333b x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-go-contrib/blob/9d4eb7e7706038b07d33f83f76afbe13f53d171d/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go#L327 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-go-contrib/blob/instrumentation/google.golang.org/grpc/otelgrpc/v0.45.0/instrumentation/google.golang.org/grpc/otelgrpc/config.go#L138 x_refsource_MISC
- https://pkg.go.dev/go.opentelemetry.io/otel/metric/noop#NewMeterProvider x_refsource_MISC
- govuln-CVE-2023-47108 exploit
- https://nvd.nist.gov/vuln/detail/CVE-2023-47108 advisory
- https://github.com/advisories/GHSA-8pgv-569h-w5rw advisory
- https://github.com/open-telemetry/opentelemetry-go-contrib url