CVE-2023-45142: OpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.6% (FIRST EPSS); higher than 76.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: k3s (Alpine:v3.20) 1.29.3.1-r0; github.com/prometheus/client_golang (Go) 1.11.1; go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego (Go) 0.39.0.
Low priority for now. Upgrade to k3s (Alpine:v3.20) 1.29.3.1-r0; github.com/prometheus/client_golang (Go) 1.11.1; go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego (Go) 0.39.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. A handler wrapper out of the box adds labels `http.user_agent` and `http.method` that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent to it. HTTP header User-Agent or HTTP method for requests can be easily set by an attacker to be random and long. The library internally uses `httpconv.ServerRequest` that records every value for HTTP `method` and `User-Agent`. In order to be affected, a program has to use the `otelhttp.NewHandler` wrapper and not filter any unknown HTTP methods or User agents on the level of CDN, LB, previous middleware, etc. Version 0.44.0 fixed this issue when the values collected for attribute `http.request.method` were changed to be restricted to a set of well-known values and other high cardinality attributes were removed. As a workaround to stop being affected, `otelhttp.WithFilter()` can be used, but it requires manual careful configuration to not log certain requests entirely. For convenience and safe usage of this library, it should by default mark with the label `unknown` non-standard HTTP methods and User agents to show that such requests were made but do not increase cardinality. In case someone wants to stay with the current behavior, library API should allow to enable it.
- BDU:2023-07911
- GHSA-5r5m-65gx-7vrh
- GHSA-cg3q-j54f-5p7p
- GHSA-rcjv-mgp8-qvmr
- GO-2022-0322
- GO-2023-1546
- GO-2023-2113
- openSUSE-SU-2024:0211-1
- openSUSE-SU-2024:0220-1
- openSUSE-SU-2024:13360-1
- openSUSE-SU-2024:13495-1
- openSUSE-SU-2024:14232-1
- openSUSE-SU-2024:14320-1
- openSUSE-SU-2024:14321-1
- RHSA-2024:4118
- SUSE-SU-2024:3188-1
- SUSE-SU-2024:3221-1
- SUSE-SU-2024:3266-1
- SUSE-SU-2024:3267-1
- SUSE-SU-2024:3288-1
- Published
- Oct 12, 2023
- Updated
- Jun 17, 2026
- EPSS
- 1.6% · 76th percentile
- CWE
- CWE-770
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.6%
CNA vs NVD score
- NVD
- 7.5
- CNA · GitHub_M
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| opentelemetry | opentelemetry | cpe:2.3:a:opentelemetry:opentelemetry |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
open-telemetry opentelemetry-go-contrib
- < 0.44.0affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- opentelemetry opentelemetrybefore 0.44.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.20 | k3s | before 1.29.3.1-r0 | 1.29.3.1-r0 |
| Go | github.com/prometheus/client_golang | before 1.11.1 | 1.11.1 |
| Go | go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego | from 0.38.0 · before 0.39.0 | 0.39.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful | before 0.44.0 | 0.44.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin | before 0.44.0 | 0.44.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux | before 0.44.0 | 0.44.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho | before 0.44.0 | 0.44.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron | before 0.44.0 | 0.44.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace | before 0.44.0 | 0.44.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | from 0.38.0 · before 0.39.0 | 0.39.0 |
| Go | go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | before 0.44.0 | 0.44.0 |
| openSUSE:Leap 15.5 | caddy | before 2.8.4-bp155.2.3.1 | 2.8.4-bp155.2.3.1 |
| openSUSE:Leap 15.5 | golang-github-prometheus-prometheus | before 2.45.6-150100.4.20.1 | 2.45.6-150100.4.20.1 |
| openSUSE:Leap 15.5 | spacecmd | before 5.0.9-150000.3.124.1 | 5.0.9-150000.3.124.1 |
| openSUSE:Leap 15.6 | caddy | before 2.8.4-bp156.3.3.1 | 2.8.4-bp156.3.3.1 |
| openSUSE:Leap Micro 5.5 | containerd | before 1.7.21-150000.117.1 | 1.7.21-150000.117.1 |
| openSUSE:Leap Micro 5.5 | docker | before 26.1.5_ce-150000.212.1 | 26.1.5_ce-150000.212.1 |
| openSUSE:Tumbleweed | caddy | before 2.7.6-1.1 | 2.7.6-1.1 |
| openSUSE:Tumbleweed | containerd | before 1.7.21-1.1 | 1.7.21-1.1 |
| openSUSE:Tumbleweed | docker | before 26.1.5_ce-2.1 | 26.1.5_ce-2.1 |
| openSUSE:Tumbleweed | golang-github-prometheus-prometheus | before 2.53.0-3.1 | 2.53.0-3.1 |
| openSUSE:Tumbleweed | teleport | before 14.1.1-1.1 | 14.1.1-1.1 |
| Red Hat:ceph_storage:5.3::el8 | ceph | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-ansible | before 0:6.0.28.8-1.el8cp | 0:6.0.28.8-1.el8cp |
+96
Same product
opentelemetry: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-47108DoS vulnerability in otelgrpc (uncontrolled resource consumption) due to unbound cardinality metrics31Monitor
- CVE-2026-29181OpenTelemetry-Go multi-value `baggage` header extraction causes excessive allocations (remote dos amplification)30Monitor
- CVE-2023-43810opentelemetry-instrumentation Denial of Service vulnerability due to unbound cardinality metrics30Monitor
Published before and after this one in the same product
- Later →CVE-2026-24051Feb 2, 2026 · OpenTelemetry-Go Affected by Arbitrary Code Execution via PATH Hijacking28Monitor
- Later →CVE-2026-39882Apr 8, 2026 · OpenTelemetry-Go OTLP HTTP exporters read unbounded HTTP response bodies21Monitor
- Later →CVE-2026-39883Apr 8, 2026 · OpenTelemetry-Go has an incomplete fix for CVE-2026-24051: BSD kenv command not using absolute path enables PATH hijacking29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:k3s | 1.29.3.1-r0 · Alpine:v3.20 | Package registry (OSV) |
| Go:github.com/prometheus/client_golang | 1.11.1 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego | 0.39.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful | 0.44.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin | 0.44.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux | 0.44.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho | 0.44.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron | 0.44.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace | 0.44.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | 0.39.0 | Package registry (OSV) |
| Go:go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp | 0.44.0 | Package registry (OSV) |
| opensuse:caddy | 2.8.4-bp155.2.3.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:containerd | 1.7.21-150000.117.1 · openSUSE:Leap Micro 5.5 | Package registry (OSV) |
| opensuse:docker | 26.1.5_ce-150000.212.1 · openSUSE:Leap Micro 5.5 | Package registry (OSV) |
| opensuse:golang-github-prometheus-prometheus | 2.45.6-150100.4.20.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:spacecmd | 5.0.9-150000.3.124.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:teleport | 14.1.1-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:ceph | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-base | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-base-debuginfo | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-common | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-common-debuginfo | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-debugsource | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-fuse-debuginfo | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-grafana-dashboards | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-immutable-object-cache-debuginfo | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-mds-debuginfo | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-mgr | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| red hat:ceph-mgr-cephadm | 2:16.2.10-266.el8cp · Red Hat:ceph_storage:5.3::el8 | Package registry (OSV) |
| suse:caddy | 2.8.4-bp155.2.3.1 · SUSE:Package Hub 15 SP5 | Package registry (OSV) |
+12
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-770 · Allocation of Resources Without Limits or ThrottlingCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- FloodingCAPEC-125likelihood: High · Medium
- Excessive AllocationCAPEC-130likelihood: Medium · Medium
- XML Ping of the DeathCAPEC-147likelihood: Low · Medium
- Exponential Data ExpansionCAPEC-197likelihood: High · Medium
- Serialized Data Parameter BlowupCAPEC-229likelihood: High · High
- Serialized Data with Nested PayloadsCAPEC-230likelihood: Medium · High
- Oversized Serialized Data PayloadsCAPEC-231likelihood: Medium · High
- HTTP DoSCAPEC-469Low
ATT&CK techniques
- Network Denial of Service:Direct Network FloodT1498.001
- Network Denial of Service:Reflection AmplificationT1498.002
- Endpoint Denial of ServiceT1499
- Endpoint Denial of Service: OS Exhaustion FloodT1499.001
- Endpoint Denial of Service:Service Exhaustion FloodT1499.002
- Endpoint Denial of Service:Application Exhaustion FloodT1499.003
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65
- github.com/open-telemetry/opentelemetry-go-contrib/pull/4277
- github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.19.0
- github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-5r5m-65gx-7vrh
- github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-rcjv-mgp8-qvmr
- github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L223
- github.com/open-telemetry/opentelemetry-go/blob/v1.12.0/semconv/internal/v2/http.go#L159
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2UTRJ54INZG3OC2FTAN6AFB2RYNY2GAD/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.