Vulnerability · Published Aug 13, 2024 · Assigned by GitHub_M

CVE-2024-42368open-telemetry has an Observable Timing Discrepancy

Medium 6.5

In plain English

A medium-severity security flaw in opentelemetry-collector-contrib from open-telemetry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 50.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension0.107.0GHSA-rfxf-mf63-cpqv
Gogithub.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension0.107.0GO-2024-3066

Affected products (as reported)

VendorProductVersions
open-telemetry opentelemetry-collector-contrib >= 0.80.0, < 0.107.0

Weakness: CWE-208 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

References