Back to bug 2168999

Who When What Removed Added
Anten Skrabec 2023-02-10 23:36:12 UTC CC aazores, amctagga, bdettelb, chazlett, dcadzow, dkenigsb, dperaza, dymurray, eaguilar, ebaron, eglynn, ellin, fdeutsch, gparvin, ibolton, jcantril, jchui, jjoyce, jkang, jmatthew, jmontleo, joelsmith, jpallich, lball, lhh, matzew, mburns, mgarciac, mrajanna, muagarwa, mwringe, njean, ocs-bugs, oramraz, owatkins, pahickey, periklis, phoracek, pjindal, rgarg, rhos-maint, rhuss, rjohnson, rrajasek, scorneli, sfroberg, shbose, slucidi, smullick, spower, sseago, stcannon, teagle, ubhargav, whayutin
Anten Skrabec 2023-02-10 23:41:53 UTC CC dfreiber, jburrell, rogbas, vkumar
Anten Skrabec 2023-02-10 23:43:29 UTC Doc Text 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.
Anten Skrabec 2023-02-10 23:43:45 UTC Blocks 2168432
Anten Skrabec 2023-02-10 23:44:16 UTC Doc Text 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.
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.
Paige Jung 2023-02-13 16:44:47 UTC Doc Text 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.
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.
Red Hat Bugzilla 2023-02-22 01:15:33 UTC CC dkenigsb
Red Hat Bugzilla 2023-05-15 18:03:40 UTC CC rrajasek
Red Hat Bugzilla 2023-05-15 18:50:48 UTC CC dcadzow
Red Hat Bugzilla 2023-05-31 23:37:35 UTC CC mrajanna
Red Hat Bugzilla 2023-07-07 08:34:29 UTC Assignee security-response-team nobody
Red Hat Bugzilla 2023-08-03 08:30:08 UTC CC ocs-bugs

Back to bug 2168999