CVE-2023-25163

Medium

Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v2.6.0-rc1 have an output sanitization bug which leaks repository access credentials in error messages. These error messages are visible to the user, and they are logged. The error message is visible when a user attempts to create or update an Application via the Argo CD API (and therefor the UI or CLI). The user must have `applications, create` or `applications, update` RBAC access to reach the code which may produce the error. The user is not guaranteed to be able to trigger the error message. They may attempt to spam the API with requests to trigger a rate limit error from the upstream repository. If the user has `repositories, update` access, they may edit an existing repository to introduce a URL typo or otherwise force an error message. But if they have that level of access, they are probably intended to have access to the credentials anyway. A patch for this vulnerability has been released in version 2.6.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

SeverityMedium
CVSS6.3
Exploit probability—
ProductArgoproj Argo Cd
PublishedFeb 8, 2023
First seenFeb 8, 2023
Weakness typeCWE-532CWE-532

How to fix

Update
  • github.com/argoproj/argo-cd/v22.6.1 or later

Affected products

ProductAffected versionsFixed in
argoproj argo_cd2.6.0—
github.com/argoproj/argo-cd/v2Go2.6.0-rc1 ≤ v < 2.6.12.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.