Vulnerability
CVE-2024-42368
OpenTelemetry, also known as 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 in 0.107.0
7 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-527f-2fc3-875v
- CGA-hr7c-f5jv-3766
- CGA-m4m4-59fw-2243
- CGA-v4q6-j8x9-m8vf
-
GHSA-rfxf-mf63-cpqv
open-telemetry has an Observable Timing Discrepancy
-
GO-2024-3066
open-telemetry has an Observable Timing Discrepancy in github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension
-
RHVEX-CVE-2024-42368
bearertokenauthextension: Observable Timing Discrepancy in github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension