Lucene search

K
redhatcveRedhat.comRH:CVE-2023-45142
HistoryOct 27, 2023 - 10:28 p.m.

CVE-2023-45142

2023-10-2722:28:41
redhat.com
access.redhat.com
36
memory leak
otelhttp handler
remote attackers
server memory exhaust
malicious requests
availability
mitigation
otelhttp.withfilter()
http metrics
instrumentation

0.001 Low

EPSS

Percentile

45.1%

A memory leak was found in the otelhttp handler of open-telemetry. This flaw allows a remote, unauthenticated attacker to exhaust the serverโ€™s memory by sending many malicious requests, affecting the availability.

Mitigation

As a workaround to stop being affected otelhttp.WithFilter() can be used.

For convenience and safe usage of this library, it should by default mark with the label unknown non-standard HTTP methods and User agents to show that such requests were made but do not increase cardinality. In case someone wants to stay with the current behavior, library API should allow to enable it.

The other possibility is to disable HTTP metrics instrumentation by passing otelhttp.WithMeterProvider option with noop.NewMeterProvider.