GO-2023-1548

    Dashboard / Vulnerabilities / GO-2023-1548

    GO-2023-1548

    Published: 15 Feb 2023Last Modified: 20 May 2024

    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.

    Affected packages

    Package

    Name: github.com/argoproj/argo-cd/v2

    Purl: pkg:golang/github.com/argoproj/argo-cd/v2

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 2.6.0-rc1
    Fixed -2.6.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High