GHSA-274v-mgcv-cm8j: Github.com/argoproj/gitops engine Argo CD GitOps Engine Does Vulnerability

MODERATE
CVSS 6.8
Published
Advisory Summary

GHSA-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.

GHSA-274v-mgcv-cm8j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-274v-mgcv-cm8j
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification General Security Weakness
Affected Product Github.com/argoproj/gitops engine
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

github.com/argoproj/gitops-engine fixed: Latest secure release
Upgrade github.com/argoproj/gitops-engine to Latest secure release
github.com/argoproj/gitops-engine fixed: 0.7.1-0.20250129155113-4c6e03c463141
Upgrade github.com/argoproj/gitops-engine to 0.7.1-0.20250129155113-4c6e03c463141
Verify Direct and Transitive Dependencies

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

### 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. ### Resources Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca

GHSA-274v-mgcv-cm8j Affected Github.com/argoproj/gitops engine Versions

2 component(s)
Fixed Versions:
0.7.1-0.20250129155113-4c6e03c463141
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?
GHSA-274v-mgcv-cm8j is a security vulnerability in Github.com/argoproj/gitops engine involving Argo CD GitOps Engine does not scrub secret values from patch errors under General Security Weakness.
Which Github.com/argoproj/gitops engine versions are affected?
Affected versions include releases prior to 0.7.1-0.20250129155113-4c6e03c463141 across affected packages: github.com/argoproj/gitops-engine.
What version fixes GHSA-274v-mgcv-cm8j?
Upgrading to 0.7.1-0.20250129155113-4c6e03c463141 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/argoproj/gitops-engine affected?
Yes, github.com/argoproj/gitops-engine is affected in releases prior to Latest secure release, 0.7.1-0.20250129155113-4c6e03c463141. Upgrade your dependency to Latest secure release, 0.7.1-0.20250129155113-4c6e03c463141 or later.
What is the CVSS score of GHSA-274v-mgcv-cm8j?
GHSA-274v-mgcv-cm8j has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with GHSA-274v-mgcv-cm8j?
GHSA-274v-mgcv-cm8j is classified under General Security Weakness.
How can I check Go dependencies for GHSA-274v-mgcv-cm8j?
Run the dependency tree command: 'inspect dependencies for github.com/argoproj/gitops-engine'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}