Live threats

All CVEs / open-telemetry

CVE-2024-42368open-telemetry opentelemetry-collector-contrib

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Aug 13, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-208
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for opentelemetry-collector-contrib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension ≥ 0.80.0 < 0.107.0 0.107.0 go get github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension@v0.107.0
Go github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension ≥ 0.80.0 < 0.107.0 0.107.0 go get github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension@v0.107.0

Per OSV / GitHub Advisories (GHSA-rfxf-mf63-cpqv, GO-2024-3066). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.