Skip to main content

Uncontrolled Resource Consumption

CVE-2023-40584

Severity Medium
Score 6.5/10

Summary

Argo CD is a declarative continuous deployment for Kubernetes. ArgoCD in versions 2.4.0-rc1 through 2.6.14, 2.7.0-rc1 through 2.7.13, and 2.8.0-rc1 through 2.8.2 have a bug where the ArgoCD repo-server component is vulnerable to a Denial-of-Service (Dos) attack vector. Specifically, the said 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. The only way to completely resolve the issue is to upgrade, however, users unable to upgrade should 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • LOW
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published