CVE-2024-53862
December 02, 2024
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 Packages
github.com/argoproj/argo-workflows/v3 (GO):
Affected version(s) >=v3.5.7 <v3.5.13Fix Suggestion:
Update to version v3.5.13github.com/argoproj/argo-workflows/v3 (GO):
Affected version(s) >=v3.6.0 <v3.6.2Fix Suggestion:
Update to version v3.6.2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.24