Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-42368 EUVD-2024-2648GHSA-rfxf-mf63-cpqvGO-2024-3066

open-telemetry has an Observable Timing Discrepancy

Published Aug 13, 2024 · Updated Aug 14, 2024 · Assigned by GitHub_M

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 products

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling grafana-alloy 1.3.0-r1 —

Affected packages

References