CVE-2020-15115: Go.etcd.io/etcd/client/v3 Etcd Has No Minimum Password Vulnerability

MODERATE
Advisory Identifier: GHSA-4993-m7g5-r9hh
CVSS 5.8
CWE-521
Published
Advisory Summary

CVE-2020-15115 is a MODERATE (CVSS 5.8) etcd has no minimum password vulnerability (CWE-521: Weak Password Requirements) affecting Go.etcd.io/etcd/client/v3 libraries in the Go ecosystem. The issue involves etcd has no minimum password length. Remediation is available by upgrading affected packages to version 3.4.10, 3.3.23.

CVE-2020-15115 at a Glance

CVE Identifier CVE-2020-15115
GHSA Identifier GHSA-4993-m7g5-r9hh
Severity MODERATE
CVSS v3.1 Base Score 5.8
CWE Classification CWE-521: Weak Password Requirements
Affected Product Go.etcd.io/etcd/client/v3
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.8

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:C/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 Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2020-15115

To remediate this vulnerability, upgrade all affected Go.etcd.io/etcd/client/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

go.etcd.io/etcd/client/v3 fixed: 3.4.10
Upgrade go.etcd.io/etcd/client/v3 to 3.4.10
go.etcd.io/etcd/client/v3 fixed: 3.3.23
Upgrade go.etcd.io/etcd/client/v3 to 3.3.23
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 go.etcd.io/etcd/client/v3

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-15115, inspect your project dependencies for Go.etcd.io/etcd/client/v3:

inspect dependencies for go.etcd.io/etcd/client/v3

Analyze the terminal output to locate any version of Go.etcd.io/etcd/client/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.10), 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-521: Weak Password Requirements, where the product does not require that users should have strong passwords. In Go.etcd.io/etcd/client/v3, 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

### Vulnerability type Access Control ### Workarounds The etcdctl and etcd API do not enforce a specific password length during user creation or user password update operations. [It is the responsibility of the administrator to enforce these requirements](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/authentication.md#notes-on-password-strength). ### Detail etcd does not perform any password length validation, which allows for very short passwords, such as those with a length of one. This may allow an attacker to guess or brute-force users’ passwords with little computational effort. ### References Find out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf) ### For more information If you have any questions or comments about this advisory: * Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)

CVE-2020-15115 Affected Go.etcd.io/etcd/client/v3 Versions

2 component(s)
Fixed Versions:
3.4.103.3.23
Product / Package Ecosystem Affected Versions Fixed Version
go.etcd.io/etcd/client/v3
Go
≥ 3.4.0
< 3.4.10
3.4.10
go.etcd.io/etcd/client/v3
Go
< 3.3.23
3.3.23

References

Frequently Asked Questions

What is CVE-2020-15115?
CVE-2020-15115 is a security vulnerability in Go.etcd.io/etcd/client/v3 involving etcd has no minimum password length under CWE-521: Weak Password Requirements.
Which Go.etcd.io/etcd/client/v3 versions are affected?
Affected versions include releases prior to 3.4.10, 3.3.23 across affected packages: go.etcd.io/etcd/client/v3.
What version fixes CVE-2020-15115?
Upgrading to 3.4.10, 3.3.23 (or the latest patched release for your respective branch) resolves the vulnerability.
Is go.etcd.io/etcd/client/v3 affected?
Yes, go.etcd.io/etcd/client/v3 is affected in releases prior to 3.4.10, 3.3.23. Upgrade your dependency to 3.4.10, 3.3.23 or later.
What is the CVSS score of CVE-2020-15115?
CVE-2020-15115 has a CVSS v3.1 base score of 5.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2020-15115?
CVE-2020-15115 is classified under CWE-521: Weak Password Requirements (The product does not require that users should have strong passwords.).
How can I check Go dependencies for CVE-2020-15115?
Run the dependency tree command: 'inspect dependencies for go.etcd.io/etcd/client/v3'. 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-4993-m7g5-r9hh",
  "modified" : "2022-10-06T23:14:23Z",
  "published" : "2022-10-06T23:14:23Z",
  "aliases" : [ "CVE-2020-15115" ],
  "summary" : "etcd has no minimum password length",
  "details" : "### Vulnerability type\nAccess Control\n\n### Workarounds\nThe etcdctl and etcd API do not enforce a specific password length during user creation or user password update operations. [It is the responsibility of the administrator to enforce these requirements](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/authentication.md#notes-on-password-strength).\n\n### Detail\netcd does not perform any password length validation, which allows for very short passwords, such as those with a length of one. This may allow an attacker to guess or brute-force users’ passwords with little computational effort.\n\n### References\nFind out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.etcd.io/etcd/client/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.4.0"
      }, {
        "fixed" : "3.4.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.etcd.io/etcd/client/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.23"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/etcd-io/etcd/security/advisories/GHSA-4993-m7g5-r9hh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15115"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/etcd-io/etcd"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-521" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-10-06T23:14:23Z",
    "nvd_published_at" : "2020-08-06T22:15:00Z"
  }
}