CVE-2024-42368

Medium

Description

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

SeverityMedium
CVSS6.5
Exploit probability—
ProductGithub.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension
PublishedAug 13, 2024
First seenAug 13, 2024
Weakness typeCWE-208CWE-208

How to fix

Update
  • github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension0.107.0 or later

Affected products

ProductAffected versionsFixed in
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextensionGo0.80.0 ≤ v < 0.107.00.107.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.