PT-2022-28158 · Unknown · Opentelemetry-Go Contrib
Aneurysm9
·
Published
2022-07-15
·
Updated
2023-10-16
·
CVE-2023-25151
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
opentelemetry-go-contrib versions 0.38.0 through 0.38.0
Description
The issue concerns a denial-of-service attack due to memory allocation increase when handling requests with constantly random query strings. The
httpconv.ServerRequest function sets the http.target attribute value to the whole request URI, including the query string. When cumulative temporality is used, the metric instruments do not forget previous measurement attributes, resulting in a direct correlation between the cardinality of measurements allocated and unique URIs handled. This can lead to a constant increase in memory allocation, potentially causing a denial-of-service attack.Recommendations
For opentelemetry-go-contrib version 0.38.0, upgrade to version 0.39.0 to address the issue. There are no known workarounds for this issue.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Opentelemetry-Go Contrib