n/a · Vulnerability
cve-program · CVE-2022-41354
PublishedAn access control issue in Argo CD v2.4.12 and below allows unauthenticated attackers to enumerate existing applications.
Read the publisher's advisoryeuvd · EUVD-2023-0830
PublishedAn access control issue in Argo CD v2.4.12 and below allows unauthenticated attackers to enumerate existing applications.
Read the publisher's advisorynvd · CVE-2022-41354
PublishedAn access control issue in Argo CD v2.4.12 and below allows unauthenticated attackers to enumerate existing applications.
Read the publisher's advisoryosv · GHSA-2q5c-qw9c-fmvq
Published### Impact All versions of Argo CD starting with v0.5.0 are vulnerable to an information disclosure bug allowing unauthorized users to enumerate application names by inspecting API error messages. An attacker could use the discovered application names as the starting point of another attack. For example, the attacker might use their knowledge of an application name to convince an administrator to grant higher privileges (social engineering). Many Argo CD API endpoints accept an application name as the only parameter. Since Argo CD RBAC requires both the application name and its configured project name (and, if apps-in-any-namespace is enabled, the application's namespace), Argo CD fetches the requested application before performing the RBAC check. If the application does not exist, the API returns a "not found". If the application does exist, and the user does not have access, the API returns an "unauthorized" error. By trial and error, an attacker can infer which applications exist and which do not. Note that application resources are not fetched for API calls from _unauthenticated_ users. If your Argo CD instance is accessible from the public internet, unauthenticated users will not be able to cause Argo CD to make Kubernetes API calls. The patch changes API behavior to return "unauthorized" both when the application is missing and when the user is not authorized to access it. **This change in API behavior may impact API clients.** Check your code to make sure it will handle the new API behavior properly. ### Patches A patch for this vulnerability has been released in the following Argo CD versions: * v2.6.7 * v2.5.16 * v2.4.28 ### Workarounds There are no workarounds besides upgrading. ### Credits Thank you to bean.zhang of HIT-IDS ChunkL Team who discovered the issue and reported it confidentially according to our [guidelines](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md#reporting-a-vulnerability). ### For more information * Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions) * Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel #argo-cd
Read the publisher's advisoryosv · GO-2023-1670
PublishedArgo CD authenticated but unauthorized users may enumerate Application names via the API in github.com/argoproj/argo-cd
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2022-41354 · CVE overview and exploitation status
cve-program · CVE-2022-41354
- https://github.com/chunklhit/cve/blob/master/argo/argo-cd/application_enumeration.md
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2q5c-qw9c-fmvq
euvd · EUVD-2023-0830
- https://github.com/chunklhit/cve/blob/master/argo/argo-cd/application_enumeration.md
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2q5c-qw9c-fmvq
nvd · CVE-2022-41354
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2q5c-qw9c-fmvq
- https://github.com/chunklhit/cve/blob/master/argo/argo-cd/application_enumeration.md
osv · GHSA-2q5c-qw9c-fmvq
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2q5c-qw9c-fmvq
- https://nvd.nist.gov/vuln/detail/CVE-2022-41354
- https://github.com/argoproj/argo-cd/commit/3a28c8a18cc2aa84fe81492625545d25c7a90bc3
- https://github.com/argoproj/argo-cd
- https://github.com/argoproj/argo-cd/releases/tag/v2.4.28
- https://github.com/argoproj/argo-cd/releases/tag/v2.5.16
- https://github.com/argoproj/argo-cd/releases/tag/v2.6.7
- https://github.com/chunklhit/cve/blob/master/argo/argo-cd/application_enumeration.md
- http://argo.com/
osv · GO-2023-1670
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-2q5c-qw9c-fmvq
- https://nvd.nist.gov/vuln/detail/CVE-2022-41354
- https://github.com/argoproj/argo-cd/commit/3a28c8a18cc2aa84fe81492625545d25c7a90bc3
- http://argo.com/
- https://github.com/argoproj/argo-cd/releases/tag/v2.4.28
- https://github.com/argoproj/argo-cd/releases/tag/v2.5.16
- https://github.com/argoproj/argo-cd/releases/tag/v2.6.7
Related changes
Linked by CVE identifierNo related changes are available here.