{"id":"CVE-2020-15113","published":"2020-08-05T19:30:13Z","modified":"2024-08-04T13:08:22Z","title":"Improper Preservation of Permissions in etcd","vendor":"etcd-io","product":"etcd","tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.12564,"provenance":"source"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"references":[{"url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.51},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"etcd-io","affectedVersions":[{"vendor":"etcd-io","product":"etcd","versions":["< 3.3.23","< 3.4.10"]}],"affected":[{"ecosystem":"Go","package":"github.com/etcd-io/etcd","vulnerableRanges":[">=3.4.0-rc.0, <3.4.10","<3.3.23"],"patched":["3.4.10","3.3.23"],"from":["GHSA-chh6-ppwq-jh92"],"provenance":"source"}],"summary":{"text":"The flaw is an improper preservation of permissions in etcd, affecting etcd versions before 3.3.23 and 3.4.10, in the code that creates the data directory and the self-signed TLS certificate directory using os.MkdirAll.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:59Z"},"euvd":{"id":"EUVD-2024-0332","exploited":false,"provenance":"source"}}