Vulnerabilities · 2024 · Argoproj
CVE-2024-28175
Argoproj Argo Cd vulnerability
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Due to the improper URL protocols filtering of links specified in the `link.argocd.argoproj.io` annotations in the application summary component, an attacker can achieve cross-site scripting with elevated permissions. All unpatched versions of Argo CD starting with v1.0.0 are vulnerable to a cross-site scripting (XSS) bug allowing a malicious user to inject a javascript: link in the UI. When clicked by a victim user, the script will execute with the victim's permissions (up to and including admin). This vulnerability allows an attacker to perform arbitrary actions on behalf of the victim via the API, such as creating, modifying, and deleting Kubernetes resources. A patch for this vulnerability has been released in Argo CD versions v2.10.3 v2.9.8, and v2.8.12. There are no completely-safe workarounds besides upgrading. The safest alternative, if upgrading is not possible, would be to create a Kubernetes admission controller to reject any resources with an annotation starting with link.argocd.argoproj.io or reject the resource if the value use an improper URL protocol. This validation will need to be applied in all clusters managed by ArgoCD.
Affected products
Argo Cd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Argoproj Argo Cd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/argoproj/argo-cd/security/advisories/GHSA-jwv5-8mqv-g387 · Vendor Advisory
- github.com/argoproj/argo-cd/commit/479b5544b57dc9ef767d49f7003f39602c480b71 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-28175
- github.com/advisories/GHSA-jwv5-8mqv-g387
- nvd.nist.gov/vuln/detail/CVE-2024-28175
- cve.org/CVERecord?id=CVE-2024-28175
More vulnerabilities in Argoproj products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.