CVEBrief

Home / open-telemetry / opentelemetry-go-contrib / CVE-2023-25151

CVE-2023-25151: is it exploited, and which versions of open-telemetry opentelemetry-go-contrib are affected and fixed?

CVE-2023-25151 is a denial of service (uncontrolled resource consumption) vulnerability in open-telemetry opentelemetry-go-contrib. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.38.0 before 0.39.0 and go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego from 0.38.0 before 0.39.0 (GitHub advisory GHSA-5r5m-65gx-7vrh). Fixed in 0.39.0 (GitHub advisory GHSA-5r5m-65gx-7vrh). Severity: High (7.5, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 10:38 UTC
Affected
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.38.0 before 0.39.0 and go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego from 0.38.0 before 0.39.0
GitHub advisory GHSA-5r5m-65gx-7vrh
Fixed in
0.39.0
GitHub advisory GHSA-5r5m-65gx-7vrh
Severity
High 7.5
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.98% in 30 days
higher than 63% of CVEs; FIRST, December 2, 2026

What is CVE-2023-25151?

DoS vulnerability for high cardinality metrics in opentelemetry-go-contrib

opentelemetry-go-contrib is a collection of extensions for OpenTelemetry-Go. The v0.38.0 release of `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` uses the `httpconv.ServerRequest` function to annotate metric measurements for the `http.server.request_content_length`, `http.server.response_content_length`, and `http.server.duration` instruments. The `ServerRequest` function sets the `http.target` attribute value to be the whole request URI (including the query string)[^1]. The metric instruments do not "forget" previous measurement attributes when `cumulative` temporality is used, this means the cardinality of the measurements allocated is directly correlated with the unique URIs handled. If the query string is constantly random, this will result in a constant increase in memory allocation that can be used in a denial-of-service attack. This issue has been addressed in version 0.39.0. Users are advised to upgrade. There are no known workarounds for this issue.

From the CVE record by GitHub_M, last updated March 10, 2025, 21:14 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
open-telemetryopentelemetry-go-contrib>= 0.38.0, < 0.39.0

As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 13, 2023. Summary: otelhttp and otelbeego have DoS vulnerability for high cardinality metrics.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxfoundationopentelemetry-go contrib0.38.0application

NVD analysis (status Modified), last modified June 17, 2026, 05:40 UTC.

How severe is CVE-2023-25151?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-25151 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, March 10, 2025)
EPSS
0.98% probability of exploitation activity in the next 30 days, percentile 63.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
February 3, 2023
Published
February 8, 2023, 19:21 UTC
CVE record updated
March 10, 2025, 21:14 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 05:40 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect opentelemetry-go-contrib?

Every CVE in opentelemetry-go-contrib

Questions about CVE-2023-25151

Is CVE-2023-25151 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.98% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of open-telemetry opentelemetry-go-contrib are affected by CVE-2023-25151?

go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.38.0 before 0.39.0 and go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeego from 0.38.0 before 0.39.0, per the GitHub advisory GHSA-5r5m-65gx-7vrh. The tables above give every range the sources list.

Which version fixes CVE-2023-25151?

0.39.0, per the GitHub advisory GHSA-5r5m-65gx-7vrh. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-25151?

High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2023-25151?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.