Bug 2168999 (CVE-2023-25151)
Summary: | CVE-2023-25151 opentelemetry-go: DoS vulnerability for high cardinality metrics in otelhttp and otelbeego | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Anten Skrabec <askrabec> |
Component: | vulnerability | Assignee: | Nobody <nobody> |
Status: | NEW --- | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | aazores, amctagga, bdettelb, chazlett, dfreiber, dperaza, dymurray, eaguilar, ebaron, eglynn, ellin, fdeutsch, gparvin, ibolton, jburrell, jcantril, jchui, jjoyce, jkang, jmatthew, jmontleo, joelsmith, jpallich, lball, lhh, matzew, mburns, mgarciac, muagarwa, mwringe, njean, oramraz, owatkins, pahickey, phoracek, pjindal, rhos-maint, rhuss, rjohnson, rogbas, scorneli, sfroberg, shbose, slucidi, smullick, spower, sseago, stcannon, teagle, vkumar, whayutin |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | opentelemetry-go 0.39.0 | Doc Type: | If docs needed, set a value |
Doc Text: |
A flaw was found in 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 as the whole request URI, including the query string. 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 always random, this will result in a constant increase in memory allocation that can be used in a denial of service attack.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2168432 |
Description
Anten Skrabec
2023-02-10 23:35:33 UTC
|