#VU60321 Path traversal in Argo CD


Published: 2022-02-06 | Updated: 2022-03-01

Vulnerability identifier: #VU60321

Vulnerability risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-24348

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Argo CD
Web applications / Modules and components for CMS

Vendor: Argo

Description

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in  helmTemplate in repository.go. A remote user can send a specially crafted HTTP request and discover credentials stored in a YAML file.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Argo CD: 2.1.0 - 2.1.8, 2.2.0 - 2.2.3, 2.0.0 - 2.0.5, 1.7.0 - 1.7.14, 1.8.0 - 1.8.7, 1.6.0 - 1.6.2, 1.5.0 - 1.5.8, 1.4.0 - 1.4.3, 1.3.0 - 1.3.6, 1.2.0 - 1.2.5, 1.1.0 - 1.1.2, 1.0.0 - 1.0.2


External links
http://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments/
http://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability