Observable Timing Discrepancy
CVE-2024-42368
Summary
OpenTelemetry, or OTel, is a vendor-neutral open source Observability framework for instrumenting, generating, collecting, and exporting telemetry data such as traces, metrics, and logs. The "bearertokenauth" extension's server authenticator performs a simple, non-constant time string comparison of the received & configured bearer tokens. This impacts anyone using the "bearertokenauth" server authenticator. Malicious clients with network access to the collector may perform a timing attack against a collector with this authenticator to guess the configured token, by iteratively sending tokens and comparing the response time. This would allow an attacker to introduce fabricated or bad data into the collector's telemetry pipeline. The observable timing vulnerability was fixed by using constant-time comparison. This issue affects github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension versions 0.80.0 through 0.106.1.
- LOW
- NETWORK
- LOW
- UNCHANGED
- NONE
- NONE
- NONE
- LOW
CWE-208 - Observable Timing Discrepancy
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.
References
Advisory Timeline
- Published