CVE-2024-42368 open-telemetry has an Observable Timing Discrepancy
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @opentelemetry opentelemetry collector contrib | >= 0.80.0, < 0.107.0 | 0.107.0 | Fixed |
| open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension(Go) | >= 0.80.0, < 0.107.0 | 0.107.0 | Fixed |
| open-telemetry opentelemetry-collector-contrib | = >= 0.80.0, < 0.107.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-telemetry github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension(Go) | >= 0.80.0, < 0.107.0 | 0.107.0 |
| open-telemetry opentelemetry-collector-contrib | = >= 0.80.0, < 0.107.0 | No fix listed |
| @opentelemetry opentelemetry collector contrib | >= 0.80.0, < 0.107.0 | 0.107.0 |
References
- https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-rfxf-mf63-cpqv vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516 patch
- https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/c9bd3eff0bb357d9c812a0d8defd3b09db95699a patch
- github.com product
- github.com