# OpenTelemetry-Go Contrib vulnerable to denial of service in otelhttp due to unbound cardinality metrics

Advisory record · `GHSA-rcjv-mgp8-qvmr`

- **Identifiers:** `GHSA-rcjv-mgp8-qvmr` · `CVE-2023-45142` · `GO-2023-2113`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 16 Oct 2023
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Oct 2023, 14:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` (Go): affected `<0.44.0`; fixed in `0.44.0`
- `go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful` (Go): affected `<0.44.0`; fixed in `0.44.0`
- `go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin` (Go): affected `<0.44.0`; fixed in `0.44.0`
- `go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux` (Go): affected `<0.44.0`; fixed in `0.44.0`
- `go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho` (Go): affected `<0.44.0`; fixed in `0.44.0`
- `go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron` (Go): affected `<0.44.0`; fixed in `0.44.0`
- `go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace` (Go): affected `<0.44.0`; fixed in `0.44.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.016, the 76th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:44 UTC: First seen by agentprime
- 31 Oct 2026, 14:44 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-rcjv-mgp8-qvmr)

## Sources

- [GitHub Advisory Database: GHSA-rcjv-mgp8-qvmr](https://github.com/advisories/GHSA-rcjv-mgp8-qvmr)
- [OSV: GHSA-rcjv-mgp8-qvmr](https://osv.dev/vulnerability/GHSA-rcjv-mgp8-qvmr)
- <https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-5r5m-65gx-7vrh>
- <https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-rcjv-mgp8-qvmr>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45142>
- <https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277>
- <https://github.com/advisories/GHSA-cg3q-j54f-5p7p>
- <https://github.com/open-telemetry/opentelemetry-go-contrib>
- <https://github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65>
- <https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.19.0>
- <https://github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L223>
- <https://github.com/open-telemetry/opentelemetry-go/blob/v1.12.0/semconv/internal/v2/http.go#L159>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2UTRJ54INZG3OC2FTAN6AFB2RYNY2GAD>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-rcjv-mgp8-qvmr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-rcjv-mgp8-qvmr/>. Everything for agents: <https://agentprime.io/llms.txt>.
