CVE-2022-24731
Last modified
CVE-2022-24731 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.5.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal vulnerability, allowing a malicious user with read/write access to leak sensitive files from Argo CD's repo-server. EPSS estimates a 0.92% chance of exploitation in the next 30 days.
Description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 1.5.0 but before versions 2.1.11, 2.2.6, and 2.3.0 is vulnerable to a path traversal vulnerability, allowing a malicious user with read/write access to leak sensitive files from Argo CD's repo-server. A malicious Argo CD user who has been granted `create` or `update` access to Applications can leak the contents of any text file on the repo-server. By crafting a malicious Helm chart and using it in an Application, the attacker can retrieve the sensitive file's contents either as part of the generated manifests or in an error message. The attacker would have to know or guess the location of the target file. Sensitive files which could be leaked include files from another Application's source repositories or any secrets which have been mounted as files on the repo-server. This vulnerability is patched in Argo CD versions 2.1.11, 2.2.6, and 2.3.0. The problem can be mitigated by avoiding storing secrets in git, avoiding mounting secrets as files on the repo-server, avoiding decrypting secrets into files on the repo-server, and carefully limiting who can `create` or `update` Applications.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Argoproj | Argo Cd | >= 1.5.0, < 2.1.11 | — |
| Argoproj | Argo Cd | >= 2.2.0, < 2.2.6 | — |
| Argoproj | Argo Cd | 2.3.0 | Rc1 |
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-h6h5-6fmq-rh28Third Party Advisory
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-h6h5-6fmq-rh28Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24731?
How severe is CVE-2022-24731?
How do I fix CVE-2022-24731?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24726Istio is an open platform to connect, manage, and secure mic…7.5
- CVE-2022-24727Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-24728CKEditor4 is an open source what-you-see-is-what-you-get HTM…5.4
- CVE-2022-24729CKEditor4 is an open source what-you-see-is-what-you-get HTM…7.5
- CVE-2022-2473The WP-UserOnline plugin for WordPress is vulnerable to Stor…4.8
- CVE-2022-24730Argo CD is a declarative, GitOps continuous delivery tool fo…6.5
- CVE-2022-24732Maddy Mail Server is an open source SMTP compatible email se…8.8
- CVE-2022-24733Sylius is an open source eCommerce platform. Prior to versio…6.1
- CVE-2022-24734MyBB is a free and open source forum software. In affected v…7.2
- CVE-2022-24735Redis is an in-memory database that persists on disk. By exp…7.8
- CVE-2022-24736Redis is an in-memory database that persists on disk. Prior …5.5
- CVE-2022-24737HTTPie is a command-line HTTP client. HTTPie has the practic…6.5
Are you affected by CVE-2022-24731?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
