Advisory

GO-2023-1548

Also known as: BIT-argo-cd-2023-25163, CVE-2023-25163, GHSA-mv6w-j4xc-qpfw

Summary

Repository access credential leak in github.com/argoproj/argo-cd/v2

Details

Argo CD has 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.

Severity

Not rated by the source.

Dates

Published
2023-02-15 16:43 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/argoproj/argo-cd/v2

Go · All systems

Affected

  • introduced 2.6.0-rc1, fixed 2.6.1 (semver)

Fixed versions

2.6.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences