Skip to main content
← All vulnerabilities
CVE-2020-15113GHSA-CHH6-PPWQ-JH92BIT-ETCD-2020-15113

Improper Preservation of Permissions in etcd

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.23, 3.4.10
None on Exploit-DB, Metasploit or GitHub

Summary

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).

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • etcd-io etcd

    fixed in 3.3.23; fixed in 3.4.10

  • github.com/etcd-io/etcdGo

    From 3.4.0-rc.0 · fixed in 3.4.10

  • github.com/etcd-io/etcdGo

    fixed in 3.3.23

References 2

GitHub · etcd-io/etcd

lists.fedoraproject.org