CVE-2020-11576: Github.com/argoproj/argo cd Observable Discrepancy Vulnerability

MODERATE
Advisory Identifier: GHSA-vj54-cjrx-x696
CVSS 5.3
CWE-203
Published
Advisory Summary

CVE-2020-11576 is a MODERATE (CVSS 5.3) observable discrepancy vulnerability (CWE-203: Observable Discrepancy) affecting Github.com/argoproj/argo cd libraries in the Go ecosystem. The issue involves observable discrepancy in argo. Remediation is available by upgrading affected packages to version 1.5.1.

CVE-2020-11576 at a Glance

CVE Identifier CVE-2020-11576
GHSA Identifier GHSA-vj54-cjrx-x696
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-203: Observable Discrepancy
Affected Product Github.com/argoproj/argo cd
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2020-11576

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.1
Upgrade github.com/argoproj/argo-cd to 1.5.1
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-2020-11576, 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.1), 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-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. 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

Fixed in v1.5.1, Argo version v1.5.0 was vulnerable to a user-enumeration vulnerability which allowed attackers to determine the usernames of valid (non-SSO) accounts because /api/v1/session returned 401 for an existing username and 404 otherwise. ### Specific Go Packages Affected github.com/argoproj/argo-cd/util/session github.com/argoproj/argo-cd/server/session

CVE-2020-11576 Affected Github.com/argoproj/argo cd Versions

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

References

Frequently Asked Questions

What is CVE-2020-11576?
CVE-2020-11576 is a security vulnerability in Github.com/argoproj/argo cd involving Observable Discrepancy in Argo under CWE-203: Observable Discrepancy.
Which Github.com/argoproj/argo cd versions are affected?
Affected versions include releases prior to 1.5.1 across affected packages: github.com/argoproj/argo-cd.
What version fixes CVE-2020-11576?
Upgrading to 1.5.1 (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.1. Upgrade your dependency to 1.5.1 or later.
What is the CVSS score of CVE-2020-11576?
CVE-2020-11576 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2020-11576?
CVE-2020-11576 is classified under CWE-203: Observable Discrepancy (The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.).
How can I check Go dependencies for CVE-2020-11576?
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-vj54-cjrx-x696",
  "modified" : "2023-09-29T17:24:54Z",
  "published" : "2021-12-09T19:59:24Z",
  "aliases" : [ "CVE-2020-11576" ],
  "summary" : "Observable Discrepancy in Argo",
  "details" : "Fixed in v1.5.1, Argo version v1.5.0 was vulnerable to a user-enumeration vulnerability which allowed attackers to determine the usernames of valid (non-SSO) accounts because /api/v1/session returned 401 for an existing username and 404 otherwise.\n\n### Specific Go Packages Affected\ngithub.com/argoproj/argo-cd/util/session\ngithub.com/argoproj/argo-cd/server/session",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/argoproj/argo-cd"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.5.0"
      }, {
        "fixed" : "1.5.1"
      } ]
    } ],
    "versions" : [ "1.5.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11576"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/pull/3215"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/argoproj/argo-cd/commit/35a7350b7444bcaf53ee0bb11b9d8e3ae4b717a1"
  }, {
    "type" : "WEB",
    "url" : "https://www.soluble.ai/blog/argo-cves-2020"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-203" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-25T18:19:26Z",
    "nvd_published_at" : "2020-04-08T18:15:00Z"
  }
}