Vulnerabilities in pkg:golang/github.com/argoproj/gitops-engine
PACKAGEGHSA-274v-mgcv-cm8j is a MODERATE (CVSS 6.8) argo cd gitops engine does vulnerability (General Security Weakness) affecting Github.com/argoproj/gitops engine libraries in the Go ecosystem. The issue involves argo cd gitops engine does not scrub secret values from patch errors. Remediation is available by upgrading affected packages to version 0.7.1-0.20250129155113-4c6e03c463141.
pkg:golang/github.com/argoproj/gitops-engine
Vulnerability advisories affecting package pkg:golang/github.com/argoproj/gitops-engine. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-274v-mgcv-cm8j | - | MODERATE | Argo CD GitOps Engine does not scrub secret values from patch errors |
GHSA-274v-mgcv-cm8j at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N).
How to Fix GHSA-274v-mgcv-cm8j
To remediate this vulnerability, upgrade all affected Github.com/argoproj/gitops engine dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/argoproj/gitops-engine to Latest secure release
Upgrade github.com/argoproj/gitops-engine to 0.7.1-0.20250129155113-4c6e03c463141
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/argoproj/gitops-engine
How to Check if You Are Affected
To determine whether your application is affected by GHSA-274v-mgcv-cm8j, inspect your project dependencies for Github.com/argoproj/gitops engine:
inspect dependencies for github.com/argoproj/gitops-engine
Analyze the terminal output to locate any version of Github.com/argoproj/gitops engine in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.1-0.20250129155113-4c6e03c463141), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Github.com/argoproj/gitops engine, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-274v-mgcv-cm8j Affected Github.com/argoproj/gitops engine Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/argoproj/gitops-engine
|
Go |
≥ 0.7.2
≤ 0.7.3
|
|
|
github.com/argoproj/gitops-engine
|
Go |
< 0.7.1-0.20250129155113-4c6e03c463141
|
0.7.1-0.20250129155113-4c6e03c463141
|
References
Frequently Asked Questions
What is GHSA-274v-mgcv-cm8j?
Which Github.com/argoproj/gitops engine versions are affected?
What version fixes GHSA-274v-mgcv-cm8j?
Is github.com/argoproj/gitops-engine affected?
What is the CVSS score of GHSA-274v-mgcv-cm8j?
What CWE is associated with GHSA-274v-mgcv-cm8j?
How can I check Go dependencies for GHSA-274v-mgcv-cm8j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-274v-mgcv-cm8j",
"modified" : "2025-12-20T03:10:36Z",
"published" : "2025-01-30T17:51:33Z",
"aliases" : [ ],
"summary" : "Argo CD GitOps Engine does not scrub secret values from patch errors",
"details" : "### Impact\nA 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. \n\nThe 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.\n\n### Patches\nA patch for this vulnerability is available in the following Argo CD versions:\n- v2.13.4\n- v2.12.10\n- v2.11.13\n\n### Workarounds\nThere is no workaround other than upgrading.\n\n### Resources\nFixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/gitops-engine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.7.2"
}, {
"last_affected" : "0.7.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/argoproj/gitops-engine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.1-0.20250129155113-4c6e03c463141"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/security/advisories/GHSA-47g2-qmh2-749v"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/gitops-engine/security/advisories/GHSA-274v-mgcv-cm8j"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107"
}, {
"type" : "WEB",
"url" : "https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/argoproj/gitops-engine"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3437"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-30T17:51:33Z",
"nvd_published_at" : null
}
}