CVE-2020-15113

Medium

Description

In etcd before versions 3.3.23 and 3.4.10, certain directory paths are created (etcd data directory and the directory path when provided to automatically generate self-signed certificates for TLS connections with clients) with restricted access permissions (700) by using the os.MkdirAll. This function does not perform any permission checks when a given directory path exists already. A possible workaround is to ensure the directories have the desired permission (700).

SeverityMedium
CVSS5.7
Exploit probability—
ProductEtcd
PublishedAug 5, 2020
First seenAug 5, 2020
Weakness typeCWE-281CWE-281

How to fix

Update
  • etcd etcd3.3.23, 3.4.10 or later
  • github.com/etcd-io/etcd3.4.10, 3.3.23 or later

Affected products

ProductAffected versionsFixed in
etcd etcdv < 3.3.23, 3.4.0 ≤ v < 3.4.103.3.23, 3.4.10
fedoraproject fedora32—
github.com/etcd-io/etcdGo3.4.0-rc.0 ≤ v < 3.4.10, v < 3.3.233.4.10, 3.3.23

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.