From f0d960a4a64bde5ab16769df46e73f7f418e8c0e Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 19:01:17 +0000 Subject: [PATCH] Publish GHSA-rfxf-mf63-cpqv --- .../GHSA-rfxf-mf63-cpqv.json | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 advisories/github-reviewed/2024/08/GHSA-rfxf-mf63-cpqv/GHSA-rfxf-mf63-cpqv.json diff --git a/advisories/github-reviewed/2024/08/GHSA-rfxf-mf63-cpqv/GHSA-rfxf-mf63-cpqv.json b/advisories/github-reviewed/2024/08/GHSA-rfxf-mf63-cpqv/GHSA-rfxf-mf63-cpqv.json new file mode 100644 index 00000000000..1f8a4759ee0 --- /dev/null +++ b/advisories/github-reviewed/2024/08/GHSA-rfxf-mf63-cpqv/GHSA-rfxf-mf63-cpqv.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-rfxf-mf63-cpqv", + "modified": "2024-08-13T18:59:32Z", + "published": "2024-08-13T18:59:32Z", + "aliases": [ + "CVE-2024-42368" + ], + "summary": "open-telemetry has an Observable Timing Discrepancy", + "details": "### Summary\n\nThe bearertokenauth extension's server authenticator performs a simple, non-constant time string comparison of the received & configured bearer tokens.\n\n### Details\n\nhttps://github.com/open-telemetry/opentelemetry-collector-contrib/blob/9128a9258fe1fee36f198f97b1e3371fc7b77a93/extension/bearertokenauthextension/bearertokenauth.go#L189-L196\n\nFor background on the type of vulnerability, see https://ropesec.com/articles/timing-attacks/.\n\n### Impact\n\nThis 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.\n\n### Fix\n\nThe observable timing vulnerability was fixed by @axw in v0.107.0 (PR https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516) by using constant-time comparison.\n\n### Workarounds\n\n- upgrade to v0.107.0 or above, or, if you're unable to upgrade at this time,\n- don't expose the receiver using `bearertokenauth` to network segments accessible by potential attackers, or\n- change the receiver to use a different authentication extension instead, or\n- disable the receiver relying on `bearertokenauth`", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L" + }, + { + "type": "CVSS_V4", + "score": "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" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.80.0" + }, + { + "fixed": "0.107.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-rfxf-mf63-cpqv" + }, + { + "type": "WEB", + "url": "https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34516" + }, + { + "type": "WEB", + "url": "https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/c9bd3eff0bb357d9c812a0d8defd3b09db95699a" + }, + { + "type": "PACKAGE", + "url": "https://github.com/open-telemetry/opentelemetry-collector-contrib" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-208" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-08-13T18:59:32Z", + "nvd_published_at": null + } +} \ No newline at end of file