{"id":"CVE-2024-42368","published":"2024-08-13T19:31:16Z","modified":"2024-08-14T13:38:51Z","title":"open-telemetry has an Observable Timing Discrepancy","vendor":"open-telemetry","product":"opentelemetry-collector-contrib","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0062,"percentile":0.5065,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-rfxf-mf63-cpqv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516","tags":["x_refsource_MISC"]},{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/c9bd3eff0bb357d9c812a0d8defd3b09db95699a","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.13},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"open-telemetry","affectedVersions":[{"vendor":"open-telemetry","product":"opentelemetry-collector-contrib","versions":[">= 0.80.0, < 0.107.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-14T13:34:34.981446Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension","vulnerableRanges":[">=0.80.0, <0.107.0"],"patched":["0.107.0"],"from":["GHSA-rfxf-mf63-cpqv","GO-2024-3066"],"provenance":"source"}],"summary":{"text":"The bearertokenauth extension's server authenticator in opentelemetry-collector-contrib compares received bearer tokens against the configured token using a non-constant-time string comparison. Malicious clients with network access to a collector using this authenticator could exploit this timing discrepancy by repeatedly sending tokens and measuring response times, without needing prior authentication or user interaction, to guess the configured token and inject fabricated or bad data into the telemetry pipeline.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:09Z"},"euvd":{"id":"EUVD-2024-2648","exploited":false,"provenance":"source"}}