CVE-2020-15113
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).
How to fix
- etcd etcd3.3.23, 3.4.10 or later
- github.com/etcd-io/etcd3.4.10, 3.3.23 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| etcd etcd | v < 3.3.23, 3.4.0 ≤ v < 3.4.10 | 3.3.23, 3.4.10 |
| fedoraproject fedora | 32 | — |
| github.com/etcd-io/etcdGo | 3.4.0-rc.0 ≤ v < 3.4.10, v < 3.3.23 | 3.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.