CVE-2024-42368: open-telemetry opentelemetry-collector-contrib Observable Timing Discrepancy
Vulnerability summary
CVE-2024-42368 is a medium (CVSS 6.5) Observable Timing Discrepancy vulnerability in open-telemetry opentelemetry-collector-contrib. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 48.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 3Timeline
- 13-08-2024PublishedVulnerability first disclosed.
- 14-08-2024Last modifiedVulnerability information updated.
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
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- OSV · GoEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.62% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- grafana-alloy< 1.3.0-r1
- grafana-alloy-fips< 1.3.0-r2
Github.com/open-telemetry/opentelemetry-collector-contrib/extension1 product
- bearertokenauthextension≥ 0.80.0, < 0.107.0
Open-telemetry1 product
- opentelemetry-collector-contrib≥ 0.80.0, < 0.107.0
Wolfi1 product
- grafana-alloy< 1.3.0-r1
4 vendors · 5 products
References
6 links- github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-rfxf-mf63-cpqvX Refsource CONFIRMAdvisoryWEB