NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

CVE-2023-47108 — otelgrpc

HIGHFix: open-telemetry/opentelemetry-go-contrib@04c5dcb

CVE-2023-47108 is a high-severity (CVSS 7.5) CWE-770 vulnerability in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. A fix is available for go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc — see the affected versions and patch details below.

DoS vulnerability in otelgrpc (uncontrolled resource consumption) due to unbound cardinality metrics

Also known asGHSA-8pgv-569h-w5rwGO-2023-2331
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-47108.

EPSS Exploitation Probability

via FIRST.org ↗
2.0%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs81th percentile — riskier than 81% of all scored CVEsHighest risk
0.78%2.22%3.67%5.11%4.3%2.0%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐹go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Summary

The grpc Unary Server Interceptor opentelemetry-go-contrib/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go

// UnaryServerInterceptor returns a grpc.UnaryServerInterceptor suitable
// for use in a grpc.NewServer call.
func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor {

out of the box adds labels

  • net.peer.sock.addr
  • net.peer.sock.port

that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent.

Details

An attacker can easily flood the peer address and port for requests.

PoC

Apply the attached patch to the example and run the client multiple times. Observe how each request will create a unique histogram and how the memory consumption increases during it.

Impact

In order to be affected, the program has to configure a metrics pipeline, use UnaryServerInterceptor, and does not filter any client IP address and ports via middleware or proxies, etc.

Others

It is similar to already reported vulnerabilities.

Workaround for affected versions

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.

Solution provided by upgrading

In PR #4322, to be released with v0.46.0, the attributes were removed.

References

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc≥ 0.37.0&&< 0.46.00.46.0go get go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.46.0

Affected Products

1 product · 1 configurations
Application
opentelemetryopentelemetry
< 0.46.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to 0.46.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-47108 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

While no authentication is required, there are a significant number of non-default factors that prevent widespread exploitation of this issue. To affect a service, all of the following must be true: - The go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc package must be in use - Configured a…

Workaround published by Red Hat
As a workaround, use a view removing the attributes. Another possibility is to disable grpc metrics instrumentation by passing otelgrpc.WithMeterProvider option with noop.NewMeterProvider.
Source: Red Hat security advisory for CVE-2023-47108 (CC BY 4.0)
ProductFixed inAdvisory
multicluster engine for Kubernetes 2.6 for RHEL 8multicluster-engine/assisted-image-service-rhel8:v2.6.4-4RHSA-2024:11293
multicluster engine for Kubernetes 2.7 for RHEL 8multicluster-engine/assisted-service-8-rhel8:v2.7.2-1RHSA-2024:10857
OpenShift Custom Metrics Autoscaler 2custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8:2.12.1-376RHSA-2024:1812
Red Hat Advanced Cluster Management for Kubernetes 2.10 for RHEL 9rhacm2/acm-cluster-permission-rhel9:v2.10.5-5RHSA-2024:6236
Red Hat Advanced Cluster Management for Kubernetes 2.9 for RHEL 8rhacm2/acm-governance-policy-addon-controller-rhel8:v2.9.3-9RHSA-2024:1328
Red Hat OpenShift Container Platform 4.12cri-o-0:1.25.5-6.rhaos4.12.gitfcf6ef3.el8RHSA-2024:0489
Red Hat OpenShift Container Platform 4.13cri-o-0:1.26.4-9.1.rhaos4.13.gite26e057.el8RHSA-2024:0288
Red Hat OpenShift Container Platform 4.13openshift4/ose-aws-cloud-controller-manager-rhel8:v4.13.0-202402070238.p0.gf116a0d.assembly.stream.el8RHSA-2024:0741

Frequently Asked Questions

### Summary The grpc Unary Server Interceptor [opentelemetry-go-contrib/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/9d4eb7e7706038b07d33f83f76afbe13f53d171d/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go#L327) ``` // UnaryServerInterceptor returns a grpc.UnaryServerInterceptor suitable // for use in a grpc.NewServer call. func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor { ``` out of the box adds labels - `net.peer.sock.addr` - `net.peer.sock.port` that have unbound
O3 Security · Impact-Aware SCA

Is CVE-2023-47108 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2023-47108: otelgrpc — Fixed in 0.46.0