PT-2023-5115 · Argo Cd · Argo Cd
Amit-Laish
·
Published
2023-09-07
·
Updated
2024-08-21
·
CVE-2023-40584
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Argo CD versions 2.4 through 2.6.14
Argo CD versions 2.7 through 2.7.13
Argo CD versions 2.8 through 2.8.2
Description
The Argo CD repo-server component is vulnerable to a Denial-of-Service attack vector. This vulnerability occurs because the component extracts a user-controlled tar.gz file without validating the size of its inner files. As a result, a malicious, low-privileged user can send a malicious tar.gz file that exploits this vulnerability to the repo-server, thereby harming the system's functionality and availability. Additionally, the repo-server is susceptible to another vulnerability due to the fact that it does not check the extracted file permissions before attempting to delete them. Consequently, an attacker can craft a malicious tar.gz archive in a way that prevents the deletion of its inner files when the manifest generation process is completed.
Recommendations
For versions 2.4 through 2.6.14, upgrade to version 2.6.15 or later.
For versions 2.7 through 2.7.13, upgrade to version 2.7.14 or later.
For versions 2.8 through 2.8.2, upgrade to version 2.8.3 or later.
If upgrade is not possible, configure RBAC (Role-Based Access Control) and provide access for configuring applications only to a limited number of administrators. These administrators should utilize trusted and verified Helm charts.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Argo Cd