grafana-alloy-fips
1.3.0-r2
6.5
CVSS V3
open-telemetry has an Observable Timing Discrepancy
The bearertokenauth extension's server authenticator performs a simple, non-constant time string comparison of the received & configured bearer tokens.
For background on the type of vulnerability, see https://ropesec.com/articles/timing-attacks/.
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 @axw in v0.107.0 (PR https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516) by using constant-time comparison.
bearertokenauth
to network segments accessible by potential attackers, orbearertokenauth