Vulnerability · Published Oct 6, 2023 · Assigned by GitHub_M
CVE-2023-43810opentelemetry-instrumentation Denial of Service vulnerability due to unbound cardinality metrics
High 7.5
In plain English
A high-severity uncontrolled resource consumption in opentelemetry-python-contrib from open-telemetry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OpenTelemetry, also known as OTel for short, is a vendor-neutral open-source Observability framework for instrumenting, generating, collecting, and exporting telemetry data such as traces, metrics, logs. Autoinstrumentation out of the box adds the label `http_method` that has unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent. HTTP method for requests can be easily set by an attacker to be random and long. In order to be affected program has to be instrumented for HTTP handlers and does not filter any unknown HTTP methods on the level of CDN, LB, previous middleware, etc. This issue has been patched in version 0.41b0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | opentelemetry-instrumentation | 0.41b0 | GHSA-5rv5-6h4r-h22v |
| PyPI | opentelemetry-instrumentation | 0.41b0 | PYSEC-2026-1752 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-telemetry | opentelemetry-python-contrib | < 0.41b0 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/open-telemetry/opentelemetry-python-contrib/security/advisories/GHSA-5rv5-6h4r-h22v x_refsource_CONFIRM
- https://github.com/open-telemetry/opentelemetry-python-contrib/commit/6007e0c013071e7f8b9612d3bc68aeb9d600d74e x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.41b0 x_refsource_MISC