DoS vulnerability for high cardinality metrics in opentelemetry-go-contrib
CVE-2023-25151
7.5HIGH
What is CVE-2023-25151?
The OpenTelemetry-Go Contrib extensions' v0.38.0 release contains a vulnerability in the httpconv.ServerRequest function, where the http.target attribute value is set to the complete request URI including the query string. This design flaw does not release previous measurement attributes when using cumulative temporality, leading to increased memory allocation when unique URIs are frequently utilized. As a result, this behavior can be exploited in a denial-of-service attack. The issue has been resolved in version 0.39.0, and users are encouraged to upgrade promptly. No workarounds exist for this vulnerability.
Affected Version(s)
opentelemetry-go-contrib >= 0.38.0, < 0.39.0
