Improper input validation in Argoproj Argo-Cd
CVE-2022-31036
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v1.3.0 are vulnerable to a symlink following bug allowing a malicious user with repository write access to leak sensitive YAML files from Argo CD's repo-server. A malicious Argo CD user with write access for a repository which is (or may be) used in a Helm-type Application may commit a symlink which points to an out-of-bounds file. If the target file is a valid YAML file, the attacker can read the contents of that file. Sensitive files which could be leaked include manifest files from other Applications' source repositories (potentially decrypted files, if you are using a decryption plugin) or any YAML-formatted secrets which have been mounted as files on the repo-server. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. If you are using a version >=v2.3.0 and do not have any Helm-type Applications you may disable the Helm config management tool as a workaround.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.008 (53.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Argoproj Argo-cd — versions >= 1.3.0, < 2.1.16, >= 2.2.0, < 2.2.10, >= 2.3.0, < 2.3.5
- Argoproj Argo_cd — versions 2.2.9, 2.3.4, 2.4.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory, Mitigation)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-31036?
- CVE-2022-31036 is a medium-severity vulnerability in Argoproj Argo-Cd, classified under Improper Input Validation. CVSS score: 4.3/10. Published 2022-06-27.
- How severe is CVE-2022-31036?
- Medium severity. CVSS v3 base score is 4.3 out of 10.