{"schemaVersion":3,"id":"CVE-2024-42368","aliases":["CGA-527f-2fc3-875v","CGA-m4m4-59fw-2243","GHSA-rfxf-mf63-cpqv","GO-2024-3066","CGA-hr7c-f5jv-3766","CGA-v4q6-j8x9-m8vf"],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2024-08-13T19:31:16.814Z","modified":"2024-08-14T13:38:51.917Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0062,"percentile":0.48998,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0062},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0062,"percentile":0.48998}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0062,"percentile":0.48998}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-208","name":"Observable Timing Discrepancy","description":"Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/208.html"}],"affected":[{"vendor":"chainguard","product":"grafana-alloy","name":"grafana-alloy","label":"grafana-alloy","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/grafana-alloy","purlType":"apk","versions":[{"text":"< 1.3.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"grafana-alloy-fips","name":"grafana-alloy-fips","label":"grafana-alloy-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/grafana-alloy-fips","purlType":"apk","versions":[{"text":"< 1.3.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"grafana-alloy","name":"grafana-alloy","label":"grafana-alloy","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/grafana-alloy","purlType":"apk","versions":[{"text":"< 1.3.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.0-r1","eol":null,"hubHref":null},{"vendor":"github.com/open-telemetry/opentelemetry-collector-contrib/extension","product":"bearertokenauthextension","name":"github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension","label":"bearertokenauthextension","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension","purlType":"golang","versions":[{"text":"≥ 0.80.0, < 0.107.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.80.0, < 0.107.0","eol":null,"hubHref":null},{"vendor":"open-telemetry","product":"opentelemetry-collector-contrib","name":"opentelemetry-collector-contrib","label":"opentelemetry-collector-contrib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.80.0, < 0.107.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.80.0, < 0.107.0","eol":null,"hubHref":"/vendor/open-telemetry/opentelemetry-collector-contrib"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-rfxf-mf63-cpqv","label":"github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-rfxf-mf63-cpqv","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516","label":"github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/c9bd3eff0bb357d9c812a0d8defd3b09db95699a","label":"github.com/open-telemetry/…","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42368.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42368.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42368","label":"nvd.nist.gov/vuln/detail/CVE-2024-42368","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/open-telemetry/opentelemetry-collector-contrib","label":"github.com/open-telemetry/opentelemetry-collector-contrib","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-J7X6-FF4W-C5GR","CGA-VV23-6QG5-6352","CGA-WMGC-R5Q9-C5G3"]},"timeline":[{"kind":"published","date":"2024-08-13T19:31:16.814Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-14T13:38:51.917Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:32:46.328Z","stale":false,"partial":false}}