Vulnerabilities · 2024 · Argoproj
CVE-2024-53862
Argoproj Argo Workflows vulnerability
Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. When using `--auth-mode=client`, Archived Workflows can be retrieved with a fake or spoofed token via the GET Workflow endpoint: `/api/v1/workflows/{namespace}/{name}` or when using `--auth-mode=sso`, all Archived Workflows can be retrieved with a valid token via the GET Workflow endpoint: `/api/v1/workflows/{namespace}/{name}`. No authentication is performed by the Server itself on `client` tokens. Authentication & authorization is instead delegated to the k8s API server. However, the Workflow Archive does not interact with k8s, and so any token that looks valid will be considered authenticated, even if it is not a k8s token or even if the token has no RBAC for Argo. To handle the lack of pass-through k8s authN/authZ, the Workflow Archive specifically does the equivalent of a `kubectl auth can-i` check for respective methods. In 3.5.7 and 3.5.8, the auth check was accidentally removed on the GET Workflow endpoint's fallback to archived workflows on these lines, allowing archived workflows to be retrieved with a fake token. This vulnerability is fixed in 3.6.2 and 3.5.13.
Affected products
Argo Workflows. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Argoproj Argo Workflows runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/argoproj/argo-workflows/security/advisories/GHSA-h36c-m3rf-34h9 · Exploit
- github.com/argoproj/argo-workflows/pull/13021/files#diff-a5b255abaceddc9cc20bf6da6ae92c3a5 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-53862
- github.com/advisories/GHSA-h36c-m3rf-34h9
- nvd.nist.gov/vuln/detail/CVE-2024-53862
- cve.org/CVERecord?id=CVE-2024-53862
More vulnerabilities in Argoproj products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.