{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-15113","id":"CVE-2020-15113","title":"Improper Preservation of Permissions in etcd","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 wor","descriptionLong":"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).","published":"2020-08-05T19:30:13.000Z","updated":"2026-10-20T10:51:51.857726991Z","reserved":"2020-06-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["etcd-io etcd"],"affectedProducts":[{"vendor":"etcd-io","product":"etcd","defaultStatus":null,"versions":[{"status":"affected","version":"< 3.3.23"},{"status":"affected","version":"< 3.4.10"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/etcd-io/etcd","purl":"pkg:golang/github.com/etcd-io/etcd","ranges":[">=3.4.0-rc.0 <3.4.10","<3.3.23"],"fixed":["3.4.10","3.3.23"],"advisory":"GHSA-chh6-ppwq-jh92"}],"cwes":["CWE-281"],"aliases":["BIT-etcd-2020-15113","GHSA-chh6-ppwq-jh92"],"references":[{"url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15113","tags":["advisory"]},{"url":"https://github.com/etcd-io/etcd/commit/6be5c54c94298ae6746a574d2af8227d0c9a998b","tags":["web"]},{"url":"https://github.com/etcd-io/etcd/commit/e5424fc474b274c9e6b5205165015bc2035745f2","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00218,"epssPercentile":0.12413,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-15113","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15113","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-15113","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-chh6-ppwq-jh92","ok":true,"note":"GHSA-chh6-ppwq-jh92"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-15113","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}