GHSA-274v-mgcv-cm8j

Suggest an improvement
Source
https://github.com/advisories/GHSA-274v-mgcv-cm8j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-274v-mgcv-cm8j/GHSA-274v-mgcv-cm8j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-274v-mgcv-cm8j
Aliases
Published
2025-01-30T17:51:33Z
Modified
2025-02-05T16:31:11Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Argo CD GitOps Engine does not scrub secret values from patch errors
Details

Impact

A vulnerability was discovered in Argo CD that exposed secret values in error messages and the diff view when an invalid Kubernetes Secret resource was synced from a repository.

The vulnerability assumes the user has write access to the repository and can exploit it, either intentionally or unintentionally, by committing an invalid Secret to repository and triggering a Sync. Once exploited, any user with read access to Argo CD can view the exposed secret data.

Patches

A patch for this vulnerability is available in the following Argo CD versions: - v2.13.4 - v2.12.10 - v2.11.13

Workarounds

There is no workaround other than upgrading.

References

Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-01-30T17:51:33Z"
}
References

Affected packages

Go / github.com/argoproj/gitops-engine

Package

Name
github.com/argoproj/gitops-engine
View open source insights on deps.dev
Purl
pkg:golang/github.com/argoproj/gitops-engine

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.7.3