GHSA-6w87-g839-9wv7: Github.com/argoproj/argo cd Helm OCI Credentials Leaked Into Vulnerability

MODERATE
CVSS 6.6
CWE-532
Published
Advisory Summary

GHSA-6w87-g839-9wv7 is a MODERATE (CVSS 6.6) helm oci credentials leaked into vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Github.com/argoproj/argo cd libraries in the Go ecosystem. The issue involves helm oci credentials leaked into argo cd logs. Remediation is available by upgrading affected packages to version 1.7.14, 1.8.7.

GHSA-6w87-g839-9wv7 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-6w87-g839-9wv7
Severity MODERATE
CVSS v3.1 Base Score 6.6
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Github.com/argoproj/argo cd
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix GHSA-6w87-g839-9wv7

To remediate this vulnerability, upgrade all affected Github.com/argoproj/argo cd 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/argo-cd fixed: 1.7.14
Upgrade github.com/argoproj/argo-cd to 1.7.14
github.com/argoproj/argo-cd fixed: 1.8.7
Upgrade github.com/argoproj/argo-cd to 1.8.7
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/argo-cd

How to Check if You Are Affected

To determine whether your application is affected by GHSA-6w87-g839-9wv7, inspect your project dependencies for Github.com/argoproj/argo cd:

inspect dependencies for github.com/argoproj/argo-cd

Analyze the terminal output to locate any version of Github.com/argoproj/argo cd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.14), 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 CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Github.com/argoproj/argo cd, 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 When Argo CD was connected to a Helm OCI repository with authentication enabled, the credentials used for accessing the remote repository were logged. Anyone with access to the pod logs - either via access with appropriate permissions to the Kubernetes control plane or a third party log management system where the logs from Argo CD were aggregated - could have potentially obtained the credentials to the Helm OCI repository. If you are using Helm OCI repositories with Argo CD, it is strongly recommended to upgrade Argo CD to the latest patch version and to change the credentials used to access the repositories. ### Patches A patch for this vulnerability is available with the v1.8.7 and v1.7.14 releases of Argo CD. ### Workarounds No workaround available ### References N/A ### For more information If you have any questions or comments about this advisory: * Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions) * Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel `#argo-cd` ### Credits This vulnerability was found and reported by a third-party who wishes to stay anonymous. We want to thank this third-party for disclosing this vulnerability to us in a responsible manner.

GHSA-6w87-g839-9wv7 Affected Github.com/argoproj/argo cd Versions

2 component(s)
Fixed Versions:
1.7.141.8.7
Product / Package Ecosystem Affected Versions Fixed Version
github.com/argoproj/argo-cd
Go
< 1.7.14
1.7.14
github.com/argoproj/argo-cd
Go
≥ 1.8.0
< 1.8.7
1.8.7

References

Frequently Asked Questions

What is GHSA-6w87-g839-9wv7?
GHSA-6w87-g839-9wv7 is a security vulnerability in Github.com/argoproj/argo cd involving Helm OCI credentials leaked into Argo CD logs under CWE-532: Insertion of Sensitive Information into Log File.
Which Github.com/argoproj/argo cd versions are affected?
Affected versions include releases prior to 1.7.14, 1.8.7 across affected packages: github.com/argoproj/argo-cd.
What version fixes GHSA-6w87-g839-9wv7?
Upgrading to 1.7.14, 1.8.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/argoproj/argo-cd affected?
Yes, github.com/argoproj/argo-cd is affected in releases prior to 1.7.14, 1.8.7. Upgrade your dependency to 1.7.14, 1.8.7 or later.
What is the CVSS score of GHSA-6w87-g839-9wv7?
GHSA-6w87-g839-9wv7 has a CVSS v3.1 base score of 6.6 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
What CWE is associated with GHSA-6w87-g839-9wv7?
GHSA-6w87-g839-9wv7 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Go dependencies for GHSA-6w87-g839-9wv7?
Run the dependency tree command: 'inspect dependencies for github.com/argoproj/argo-cd'. 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-6w87-g839-9wv7",
  "modified" : "2021-10-05T16:35:57Z",
  "published" : "2021-05-21T14:31:28Z",
  "aliases" : [ ],
  "summary" : "Helm OCI credentials leaked into Argo CD logs",
  "details" : "### Impact\n\nWhen Argo CD was connected to a Helm OCI repository with authentication enabled, the credentials used for accessing the remote repository were logged.\n\nAnyone with access to the pod logs - either via access with appropriate permissions to the Kubernetes control plane or a third party log management system where the logs from Argo CD were aggregated - could have potentially obtained the credentials to the Helm OCI repository.\n\nIf you are using Helm OCI repositories with Argo CD, it is strongly recommended to upgrade Argo CD to the latest patch version and to change the credentials used to access the repositories.\n\n### Patches\n\nA patch for this vulnerability is available with the v1.8.7 and v1.7.14 releases of Argo CD.\n\n### Workarounds\n\nNo workaround available\n\n### References\n\nN/A\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [the Argo CD issue tracker](https://github.com/argoproj/argo-cd/issues) or [discussions](https://github.com/argoproj/argo-cd/discussions)\n* Join us on [Slack](https://argoproj.github.io/community/join-slack) in channel `#argo-cd`\n\n### Credits\n\nThis vulnerability was found and reported by a third-party who wishes to stay anonymous. We want to thank this third-party for disclosing this vulnerability to us in a responsible manner.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.8.0"
      }, {
        "fixed" : "1.8.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/security/advisories/GHSA-6w87-g839-9wv7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/argoproj/argo-cd"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-21T14:21:01Z",
    "nvd_published_at" : null
  }
}