CVE-2020-15136: Go.etcd.io/etcd Etcd Gateway TLS Authentication Only Vulnerability
MODERATECVE-2020-15136 is a MODERATE (CVSS 6.5) etcd gateway tls authentication only vulnerability (CWE-287: Improper Authentication) affecting Go.etcd.io/etcd libraries in the Go ecosystem. The issue involves etcd gateway tls authentication only applies to endpoints detected in dns srv records. Remediation is available by upgrading affected packages to version 3.4.10, 3.3.23.
CVE-2020-15136 at a Glance
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:H/PR:N/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2020-15136
To remediate this vulnerability, upgrade all affected Go.etcd.io/etcd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade go.etcd.io/etcd to 3.4.10
Upgrade go.etcd.io/etcd to 3.3.23
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
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15136, inspect your project dependencies for Go.etcd.io/etcd:
inspect dependencies for go.etcd.io/etcd
Analyze the terminal output to locate any version of Go.etcd.io/etcd 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Go.etcd.io/etcd, 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
CVE-2020-15136 Affected Go.etcd.io/etcd Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
go.etcd.io/etcd
|
Go |
≥ 3.4.0-rc.0
< 3.4.10
|
3.4.10
|
|
go.etcd.io/etcd
|
Go |
< 3.3.23
|
3.3.23
|
References
Frequently Asked Questions
What is CVE-2020-15136?
Which Go.etcd.io/etcd versions are affected?
What version fixes CVE-2020-15136?
Is go.etcd.io/etcd affected?
What is the CVSS score of CVE-2020-15136?
What CWE is associated with CVE-2020-15136?
How can I check Go dependencies for CVE-2020-15136?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wr2v-9rpq-c35q",
"modified" : "2024-01-31T00:21:56Z",
"published" : "2024-01-31T00:21:56Z",
"aliases" : [ "CVE-2020-15136" ],
"summary" : "Etcd Gateway TLS authentication only applies to endpoints detected in DNS SRV records",
"details" : "### Vulnerability type\nCryptography\n\n### Workarounds\nRefer to the [gateway documentation](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/gateway.md). The vulnerability was spotted due to unclear documentation of how the gateway handles endpoints validation.\n\n### Detail\nWhen starting a gateway, TLS authentication will only be attempted on endpoints identified in DNS SRV records for a given domain, which occurs in the discoverEndpoints function. No authentication is performed against endpoints provided in the --endpoints flag. The auditors has noted that appropriate documentation of this validation functionality plus deprecation of this misleading functionality is an acceptable path forward.\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:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "go.etcd.io/etcd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0-rc.0"
}, {
"fixed" : "3.4.10"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.4.9"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "go.etcd.io/etcd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.23"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/security/advisories/GHSA-wr2v-9rpq-c35q"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15136"
}, {
"type" : "WEB",
"url" : "https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/gateway.md"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-306" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-31T00:21:56Z",
"nvd_published_at" : "2020-08-06T23:15:00Z"
}
}