CVE-2018-21034: Github.com/argoproj/argo cd Argo Exposure Of Sensitive Information Vulnerability

MODERATE
Advisory Identifier: GHSA-xj7v-c82w-92q2
CVSS 6.5
CWE-200
Published
Advisory Summary

CVE-2018-21034 is a MODERATE (CVSS 6.5) argo exposure of sensitive information vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/argoproj/argo cd libraries in the Go ecosystem. The issue involves argo exposure of sensitive information. Remediation is available by upgrading affected packages to version 1.5.0-rc1.

CVE-2018-21034 at a Glance

CVE Identifier CVE-2018-21034
GHSA Identifier GHSA-xj7v-c82w-92q2
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Github.com/argoproj/argo cd
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2018-21034

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.5.0-rc1
Upgrade github.com/argoproj/argo-cd to 1.5.0-rc1
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 CVE-2018-21034, 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.5.0-rc1), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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

In Argo versions prior to v1.5.0-rc1, it was possible for authenticated Argo users to submit API calls to retrieve secrets and other manifests which were stored within git.

CVE-2018-21034 Affected Github.com/argoproj/argo cd Versions

1 component(s)
Fixed Versions:
1.5.0-rc1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/argoproj/argo-cd
Go
< 1.5.0-rc1
1.5.0-rc1

References

Frequently Asked Questions

What is CVE-2018-21034?
CVE-2018-21034 is a security vulnerability in Github.com/argoproj/argo cd involving Argo Exposure of Sensitive Information under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Github.com/argoproj/argo cd versions are affected?
Affected versions include releases prior to 1.5.0-rc1 across affected packages: github.com/argoproj/argo-cd.
What version fixes CVE-2018-21034?
Upgrading to 1.5.0-rc1 (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.5.0-rc1. Upgrade your dependency to 1.5.0-rc1 or later.
What is the CVSS score of CVE-2018-21034?
CVE-2018-21034 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2018-21034?
CVE-2018-21034 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Go dependencies for CVE-2018-21034?
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-xj7v-c82w-92q2",
  "modified" : "2023-10-05T19:26:09Z",
  "published" : "2022-05-24T17:13:55Z",
  "aliases" : [ "CVE-2018-21034" ],
  "summary" : "Argo Exposure of Sensitive Information ",
  "details" : "In Argo versions prior to v1.5.0-rc1, it was possible for authenticated Argo users to submit API calls to retrieve secrets and other manifests which were stored within git.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.0-rc1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-21034"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/issues/470"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/pull/3088"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/commit/916d4aed5775fead4ab75f47c1d352cd0e73b815"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/argoproj/argo-cd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/blob/a1afe44066fcd0a0ab90a02a23177164bbad42cf/util/diff/diff.go#L399"
  }, {
    "type" : "WEB",
    "url" : "https://www.soluble.ai/blog/argo-cves-2020"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-19T23:58:11Z",
    "nvd_published_at" : "2020-04-09T17:15:00Z"
  }
}