OpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics
cve-program · CVE-2023-45142
PublishedOpenTelemetry-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.
Read the publisher's advisoryeuvd · EUVD-2023-2802
PublishedOpenTelemetry-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.
Read the publisher's advisorynvd · CVE-2023-45142
PublishedOpenTelemetry-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.
Read the publisher's advisoryosv · GHSA-rcjv-mgp8-qvmr
Published### Summary This handler wrapper https://github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65 out of the box adds labels - `http.user_agent` - `http.method` that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent to it. ### Details 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](https://github.com/open-telemetry/opentelemetry-go/blob/v1.12.0/semconv/internal/v2/http.go#L159) that records every value for HTTP [method](https://github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L204) and [User-Agent](https://github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L223). ### PoC Send many requests with long randomly generated HTTP methods or/and User agents (e.g. a million) and observe how memory consumption increases during it. ### Impact In order to be affected, the program has to configure a metrics pipeline, use [otelhttp.NewHandler](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65) wrapper, and does not filter any unknown HTTP methods or User agents on the level of CDN, LB, previous middleware, etc. ### Others It is similar to already reported vulnerabilities - https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-5r5m-65gx-7vrh ([open-telemetry/opentelemetry-go-contrib](https://github.com/open-telemetry/opentelemetry-go-contrib)) - https://github.com/advisories/GHSA-cg3q-j54f-5p7p ([prometheus/client_golang](https://github.com/prometheus/client_golang)) ### Workaround for affected versions As a workaround to stop being affected [otelhttp.WithFilter()](https://pkg.go.dev/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/filters) 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. The other possibility is to disable HTTP metrics instrumentation by passing [`otelhttp.WithMeterProvider`](https://pkg.go.dev/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp#WithMeterProvider) option with [`noop.NewMeterProvider`](https://pkg.go.dev/go.opentelemetry.io/otel/metric/noop#NewMeterProvider). ### Solution provided by upgrading In PR https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277, released with package version 0.44.0, 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. ### References - https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277 - https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.19.0
Read the publisher's advisoryosv · GO-2023-2113
PublishedMemory exhaustion in go.opentelemetry.io/contrib/instrumentation
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2023-45142
PublishedOpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics
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.
- Source published
- 12 Oct 2023 16:33:21 UTC
- Source modified
- 13 Feb 2025 17:13:49 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
euvd · EUVD-2023-2802
PublishedOpenTelemetry-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…
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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Oct 12, 2023, 4:33:21 PM
dateUpdated: Feb 13, 2025, 5:13:49 PM
52 related source bulletins · separate from aliases
WID-SEC-W-2024-0641: Red Hat Enterprise Linux (Advanced Cluster Management): Mehrere Schwachstellen
CVE-2023-45142 · CVE-2023-47108 · CVE-2024-25620 · CVE-2024-26147
openSUSE-SU-2024:14232-1: golang-github-prometheus-prometheus-2.53.0-3.1 on GA media
CVE-2023-45142
openSUSE-SU-2024:14320-1: containerd-1.7.21-1.1 on GA media
CVE-2023-45142 · CVE-2023-47108
RHSA-2024:5433: Red Hat Security Advisory: OpenShift Container Platform 4.14.35 security update
CVE-2023-45142 · CVE-2023-45290 · CVE-2023-47108 · CVE-2023-48795 · CVE-2024-6104 · CVE-2024-24790 · CVE-2024-34064 · CVE-2024-36971
openSUSE-SU-2024:13360-1: teleport-14.1.1-1.1 on GA media
CVE-2023-44487 · CVE-2023-45133 · CVE-2023-45142
WID-SEC-W-2024-1474: Red Hat OpenShift Container Platform: Mehrere Schwachstellen
CVE-2019-25210 · CVE-2023-29483 · CVE-2023-45142 · CVE-2023-45289 · CVE-2023-45290 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-52425 · CVE-2024-0874 · CVE-2024-1394 · CVE-2024-22189 · CVE-2024-2398 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28110 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28757 · CVE-2024-28849 · CVE-2024-29180 · CVE-2024-3177 · CVE-2024-3727
SUSE-SU-2024:3221-1: Security update for containerd
CVE-2022-1996 · CVE-2023-45142 · CVE-2023-47108
RHSA-2023:7681: Red Hat Security Advisory: OpenShift Container Platform 4.14.6 security and extras update
CVE-2023-26115 · CVE-2023-45142 · CVE-2023-47108
RHSA-2024:1328: Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.9.3 security and bug fix container updates
CVE-2023-45142 · CVE-2023-47108 · CVE-2024-25620 · CVE-2024-26147
SUSE-SU-2025:20110-1: Security update for docker
CVE-2023-45142 · CVE-2023-47108 · CVE-2024-41110
openSUSE-SU-2024:14321-1: docker-26.1.5_ce-2.1 on GA media
CVE-2023-45142 · CVE-2023-47108
RHSA-2024:8991: Red Hat Security Advisory: OpenShift Container Platform 4.15.38 bug fix and security update
CVE-2023-45142 · CVE-2024-6508 · CVE-2024-7409 · CVE-2024-47875
RHSA-2023:7682: Red Hat Security Advisory: OpenShift Container Platform 4.14.6 bug fix and security update
CVE-2023-39325 · CVE-2023-44487 · CVE-2023-45142
RHSA-2023:7599: Red Hat Security Advisory: OpenShift Container Platform 4.14.5 bug fix and security update
CVE-2023-39325 · CVE-2023-45142
SUSE-SU-2024:4360-1: Security update for docker
CVE-2023-45142 · CVE-2023-47108 · CVE-2024-41110
RHSA-2023:7469: Red Hat Security Advisory: OpenShift Container Platform 4.14.4 security and extras update
CVE-2023-39325 · CVE-2023-45142
SUSE-SU-2024:3288-1: Security update for golang-github-prometheus-prometheus
CVE-2022-41715 · CVE-2022-41723 · CVE-2023-45142 · CVE-2024-6104
RHSA-2024:4118: Red Hat Security Advisory: Red Hat Ceph Storage 5.3 security, bug fix, and enhancement update
CVE-2023-39325 · CVE-2023-44487 · CVE-2023-45142 · CVE-2023-49569
openSUSE-SU-2024:0211-1: Security update for caddy
CVE-2023-45142 · CVE-2024-22189
RHSA-2024:6811: Red Hat Security Advisory: OpenShift Container Platform 4.13.51 bug fix and security update
CVE-2023-45142 · CVE-2023-45288 · CVE-2023-47108 · CVE-2024-6104 · CVE-2024-7409
openSUSE-SU-2024:13495-1: caddy-2.7.6-1.1 on GA media
CVE-2023-45142
RHSA-2024:0660: Red Hat Security Advisory: OpenShift Container Platform 4.13.32 bug fix and security update
CVE-2023-39325 · CVE-2023-45142
RHSA-2024:7921: Red Hat Security Advisory: OpenShift Container Platform 4.17.1 security and extras update
CVE-2023-45142
SUSE-SU-2025:20259-1: Security update for docker
CVE-2023-45142 · CVE-2023-47108 · CVE-2024-29018 · CVE-2024-41110
SUSE-SU-2024:3267-1: Security update for SUSE Manager Client Tools
CVE-2023-45142 · CVE-2024-6104
RHSA-2023:7831: Red Hat Security Advisory: OpenShift Container Platform 4.14.7 bug fix and security update
CVE-2023-39325 · CVE-2023-45142 · CVE-2023-47108
RHSA-2024:0204: Red Hat Security Advisory: OpenShift Container Platform 4.14.9 bug fix and security update
CVE-2023-45142 · CVE-2023-47108
RHSA-2023:7198: Red Hat Security Advisory: OpenShift Container Platform 4.15.0 bug fix and security update
CVE-2023-3978 · CVE-2023-26159 · CVE-2023-30551 · CVE-2023-37788 · CVE-2023-39325 · CVE-2023-39326 · CVE-2023-40577 · CVE-2023-44487 · CVE-2023-45142 · CVE-2023-45285 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-49569
RHBA-2023:7648: Red Hat Bug Fix Advisory: MTV 2.5.3 Images
CVE-2023-39318 · CVE-2023-39319 · CVE-2023-39321 · CVE-2023-39322 · CVE-2023-45142
RHSA-2024:6406: Red Hat Security Advisory: OpenShift Container Platform 4.14.36 security update
CVE-2023-45142 · CVE-2023-45288 · CVE-2023-47108 · CVE-2023-48795 · CVE-2024-0874 · CVE-2024-1737 · CVE-2024-1975 · CVE-2024-4076 · CVE-2024-6104 · CVE-2024-34069
RHSA-2024:1859: Red Hat Security Advisory: OpenShift API for Data Protection (OADP) 1.3.1 security and bug fix update
CVE-2023-39326 · CVE-2023-45142 · CVE-2023-45287 · CVE-2023-48795 · CVE-2024-24786 · CVE-2024-28180
SUSE-SU-2024:4319-1: Security update for docker
CVE-2023-45142 · CVE-2023-47108 · CVE-2024-41110
msrc_CVE-2023-45142: OpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics
CVE-2023-45142
openSUSE-SU-2024:0220-1: Security update for caddy
CVE-2023-45142 · CVE-2024-22189
RHSA-2024:6236: Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.10.5 security and bug fix update
CVE-2023-45142 · CVE-2023-47108
RHSA-2023:7555: Red Hat Security Advisory: OpenShift API for Data Protection (OADP) 1.3.0 security update
CVE-2023-39325 · CVE-2023-44487 · CVE-2023-45142
SUSE-SU-2025:20091-1: Security update for containerd
CVE-2022-1996 · CVE-2023-45142 · CVE-2023-45288 · CVE-2023-47108
SUSE-SU-2024:3188-1: Security update for containerd
CVE-2023-45142 · CVE-2023-45288 · CVE-2023-47108
SUSE-SU-2024:3266-1: Security update for SUSE Manager Client Tools
CVE-2023-45142 · CVE-2024-6104
RHSA-2024:0641: Red Hat Security Advisory: OpenShift Container Platform 4.14.11 security and extras update
CVE-2023-45142 · CVE-2023-49568 · CVE-2023-49569
WID-SEC-W-2024-0869: Oracle Communications: Mehrere Schwachstellen
CVE-2022-40152 · CVE-2022-40896 · CVE-2022-45688 · CVE-2023-2283 · CVE-2023-31122 · CVE-2023-33201 · CVE-2023-34053 · CVE-2023-34055 · CVE-2023-4016 · CVE-2023-41056 · CVE-2023-43496 · CVE-2023-44487 · CVE-2023-45142 · CVE-2023-4641 · CVE-2023-46589 · CVE-2023-47100 · CVE-2023-4863 · CVE-2023-48795 · CVE-2023-49083 · CVE-2023-5072 · CVE-2023-51074 · CVE-2023-51257 · CVE-2023-51775 · CVE-2023-5341 · CVE-2023-5363 · CVE-2023-6507 · CVE-2024-1635 · CVE-2024-21626 · CVE-2024-22201 · CVE-2024-22233 · CVE-2024-22257 · CVE-2024-22259 · CVE-2024-25062 · CVE-2024-26130 · CVE-2024-26308
RHSA-2024:0833: Red Hat Security Advisory: OpenShift Container Platform 4.12.50 bug fix and security update
CVE-2023-39325 · CVE-2023-45142 · CVE-2023-49568 · CVE-2023-49569
WID-SEC-W-2023-3067: Red Hat OpenShift: Mehrere Schwachstellen
CVE-2023-45142 · CVE-2023-46129
RHSA-2023:7663: Red Hat Security Advisory: Red Hat OpenShift distributed tracing 3.0.0 operator/operand containers
CVE-2023-45142 · CVE-2023-46129
RHSA-2023:7197: Red Hat Security Advisory: OpenShift Container Platform 4.15.0 security and extras update
CVE-2023-3978 · CVE-2023-45142 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-49569
RHSA-2024:2773: Red Hat Security Advisory: OpenShift Container Platform 4.15.13 bug fix and security update
CVE-2023-37788 · CVE-2023-45142 · CVE-2023-45288 · CVE-2023-47108 · CVE-2024-24786 · CVE-2024-28180
WID-SEC-W-2024-1913: Red Hat OpenShift Container Platform: Mehrere Schwachstellen
CVE-2018-15209 · CVE-2021-46939 · CVE-2021-47018 · CVE-2021-47257 · CVE-2021-47284 · CVE-2021-47304 · CVE-2021-47373 · CVE-2021-47383 · CVE-2021-47408 · CVE-2021-47461 · CVE-2021-47468 · CVE-2021-47491 · CVE-2021-47548 · CVE-2021-47579 · CVE-2021-47624 · CVE-2022-48632 · CVE-2022-48637 · CVE-2022-48743 · CVE-2022-48747 · CVE-2022-48757 · CVE-2023-25433 · CVE-2023-28746 · CVE-2023-45142 · CVE-2023-45290 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-52356 · CVE-2023-52448 · CVE-2023-52451 · CVE-2023-52458 · CVE-2023-52463 · CVE-2023-52469 · CVE-2023-52471 · CVE-2023-52486 · CVE-2023-52530 · CVE-2023-52619 · CVE-2023-52622 · CVE-2023-52623 · CVE-2023-52635 · CVE-2023-52648 · CVE-2023-52651 · CVE-2023-52653 · CVE-2023-52658 · CVE-2023-52662 · CVE-2023-52679 · CVE-2023-52707 · CVE-2023-52730 · CVE-2023-52756 · CVE-2023-52762 · CVE-2023-52764 · CVE-2023-52771 · CVE-2023-52775 · CVE-2023-52777 · CVE-2023-52784 · CVE-2023-52791 · CVE-2023-52796 · CVE-2023-52803 · CVE-2023-52809 · CVE-2023-52811 · CVE-2023-52832 · CVE-2023-52834 · CVE-2023-52845 · CVE-2023-52847 · CVE-2023-52864 · CVE-2023-52885 · CVE-2023-6228 · CVE-2024-21823 · CVE-2024-2201 · CVE-2024-24788 · CVE-2024-24790 · CVE-2024-25739 · CVE-2024-26586 · CVE-2024-26601 · CVE-2024-26614 · CVE-2024-26640 · CVE-2024-26660 · CVE-2024-26669 · CVE-2024-26686 · CVE-2024-26698 · CVE-2024-26704 · CVE-2024-26733 · CVE-2024-26737 · CVE-2024-26740 · CVE-2024-26772 · CVE-2024-26773 · CVE-2024-26802 · CVE-2024-26810 · CVE-2024-26837 · CVE-2024-26840 · CVE-2024-26843 · CVE-2024-26852 · CVE-2024-26853 · CVE-2024-26855 · CVE-2024-26870 · CVE-2024-26878 · CVE-2024-26897 · CVE-2024-26908 · CVE-2024-26921 · CVE-2024-26925 · CVE-2024-26930 · CVE-2024-26940 · CVE-2024-26947 · CVE-2024-26958 · CVE-2024-26960 · CVE-2024-26961 · CVE-2024-27010 · CVE-2024-27011 · CVE-2024-27019 · CVE-2024-27020 · CVE-2024-27025 · CVE-2024-27030 · CVE-2024-27046 · CVE-2024-27052 · CVE-2024-27062 · CVE-2024-27065 · CVE-2024-27388 · CVE-2024-27395 · CVE-2024-27434 · CVE-2024-31076 · CVE-2024-33621 · CVE-2024-34064 · CVE-2024-35789 · CVE-2024-35790 · CVE-2024-35801 · CVE-2024-35807 · CVE-2024-35810 · CVE-2024-35814 · CVE-2024-35823 · CVE-2024-35824 · CVE-2024-35845 · CVE-2024-35847 · CVE-2024-35852 · CVE-2024-35876 · CVE-2024-35885 · CVE-2024-35893 · CVE-2024-35896 · CVE-2024-35897 · CVE-2024-35899 · CVE-2024-35900 · CVE-2024-35907 · CVE-2024-35910 · CVE-2024-35912 · CVE-2024-35924 · CVE-2024-35925 · CVE-2024-35930 · CVE-2024-35937 · CVE-2024-35938 · CVE-2024-35946 · CVE-2024-35947 · CVE-2024-35952 · CVE-2024-35962 · CVE-2024-36000 · CVE-2024-36005 · CVE-2024-36006 · CVE-2024-36010 · CVE-2024-36016 · CVE-2024-36017 · CVE-2024-36020 · CVE-2024-36025 · CVE-2024-36270 · CVE-2024-36286 · CVE-2024-36489 · CVE-2024-36886 · CVE-2024-36889 · CVE-2024-36896 · CVE-2024-36904 · CVE-2024-36905 · CVE-2024-36917 · CVE-2024-36921 · CVE-2024-36922 · CVE-2024-36927 · CVE-2024-36929 · CVE-2024-36933 · CVE-2024-36940 · CVE-2024-36941 · CVE-2024-36945 · CVE-2024-36950 · CVE-2024-36954 · CVE-2024-36960 · CVE-2024-36971 · CVE-2024-36978 · CVE-2024-36979 · CVE-2024-37370 · CVE-2024-37371 · CVE-2024-37891 · CVE-2024-38384 · CVE-2024-38428 · CVE-2024-38473 · CVE-2024-38538 · CVE-2024-38555 · CVE-2024-38556 · CVE-2024-38573 · CVE-2024-38575 · CVE-2024-38586 · CVE-2024-38596 · CVE-2024-38598 · CVE-2024-38615 · CVE-2024-38627 · CVE-2024-38663 · CVE-2024-39276 · CVE-2024-39472 · CVE-2024-39476 · CVE-2024-39487 · CVE-2024-39502 · CVE-2024-39573 · CVE-2024-40897 · CVE-2024-40927 · CVE-2024-40974 · CVE-2024-6104 · CVE-2024-6345 · CVE-2024-6409
RHSA-2024:0642: Red Hat Security Advisory: OpenShift Container Platform 4.14.11 bug fix and security update
CVE-2023-39325 · CVE-2023-45142 · CVE-2023-47108 · CVE-2023-49568 · CVE-2023-49569
RHSA-2024:0050: Red Hat Security Advisory: OpenShift Container Platform 4.14.8 bug fix and security update
CVE-2023-39325 · CVE-2023-45142
RHSA-2024:0041: Red Hat Security Advisory: OpenShift Container Platform 4.16.0 bug fix and security update
CVE-2019-25210 · CVE-2023-45142 · CVE-2023-45289 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-49569 · CVE-2024-0874 · CVE-2024-22189 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28110 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28849 · CVE-2024-29180
RHSA-2023:7470: Red Hat Security Advisory: OpenShift Container Platform 4.14.4 bug fix and security update
CVE-2023-39325 · CVE-2023-45142
RHSA-2024:0766: Red Hat Security Advisory: OpenShift Container Platform 4.15.0 security update
CVE-2023-39325 · CVE-2023-45142 · CVE-2023-47108 · CVE-2023-48795
- Source published
- Oct 12, 2023, 4:33:21 PM (timezone not stated)
- Source modified
- Feb 13, 2025, 5:13:49 PM (timezone not stated)
- Saved here
- 19 Nov 2026 02:37:57 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd · CVE-2023-45142
PublishedOpenTelemetry-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…
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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-770
Original publisher date fields
published: 2023-10-12T17:15:09.990
lastModified: 2026-06-17T06:28:18.303
1 source CPE criteria · context only
- cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 12 Oct 2023 17:15:09 UTC
- Source modified
- 17 Jun 2026 06:28:18 UTC
- Saved here
- 24 Oct 2026 22:17:27 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 · [email protected] · Primary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv · GHSA-rcjv-mgp8-qvmr
PublishedOpenTelemetry-Go Contrib vulnerable to denial of service in otelhttp due to unbound cardinality metrics
### Summary This handler wrapper https://github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65 out of the box adds labels - `http.user_agent` - `http.method` that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent to it. ### Details 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](https://github.com/open-telemetry/opentelemetry-go/blob/v1.12.0/semconv/internal/v2/http.go#L159) that records every value for HTTP [method](https://github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L204) and [User-Agent](https://github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L223). ### PoC Send many requests with long randomly generated HTTP methods or/and User agents (e.g. a million) and observe how memory consumption increases during it. ### Impact In order to be affected, the program has to configure a metrics pipeline, use [otelhttp.NewHandler](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65) wrapper, and does not filter any unknown HTTP methods or User agents on the level of CDN, LB, previous middleware, etc. ### Others It is similar to already reported vulnerabilities - https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-5r5m-65gx-7vrh ([open-telemetry/opentelemetry-go-contrib](https://github.com/open-telemetry/opentelemetry-go-contrib)) - https://github.com/advisories/GHSA-cg3q-j54f-5p7p ([prometheus/client_golang](https://github.com/prometheus/client_golang)) ### Workaround for affected versions As a workaround to stop being affected [otelhttp.WithFilter()](https://pkg.go.dev/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/filters) 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. The other possibility is to disable HTTP metrics instrumentation by passing [`otelhttp.WithMeterProvider`](https://pkg.go.dev/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp#WithMeterProvider) option with [`noop.NewMeterProvider`](https://pkg.go.dev/go.opentelemetry.io/otel/metric/noop#NewMeterProvider). ### Solution provided by upgrading In PR https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277, released with package version 0.44.0, 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. ### References - https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277 - https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.19.0
- Source published
- 16 Oct 2023 14:01:54 UTC
- Source modified
- 10 Sep 2026 03:49:24 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher rating · HIGH
osv · GO-2023-2113
PublishedMemory exhaustion in go.opentelemetry.io/contrib/instrumentation
Memory exhaustion in go.opentelemetry.io/contrib/instrumentation
- Source published
- 16 Oct 2023 19:30:55 UTC
- Source modified
- 4 Feb 2026 04:22:57 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.