Out-of-bounds write in Argo CD - CVE-2022-31036

 

Out-of-bounds write in Argo CD - CVE-2022-31036

Published: June 22, 2022


Vulnerability identifier: #VU64594
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31036
CWE-ID: CWE-787
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a symlink following bug. An adjacent user with repository write access can create a specially crafted file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

Argo CD
Red Hat OpenShift GitOps

How to mitigate CVE-2022-31036

Install updates from vendor's website.

Argo CD - addressed in versions 2.1.16, 2.2.10, 2.3.5, 2.4.1
Red Hat OpenShift GitOps - update to 1.5

External References

Related Security Bulletins