{"id":"CVE-2020-15113","aliases":["CVE-2020-15113","GHSA-chh6-ppwq-jh92","BIT-ETCD-2020-15113"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Preservation of Permissions in etcd","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).","summarySource":"cvelist","descriptions":[{"lang":"en","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).","source":"cvelist"},{"lang":"en","text":"### Vulnerability type\nAccess Controls\n\n### Detail\netcd creates certain directory paths (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.\n### Specific Go Package Affected\ngithub.com/etcd-io/etcd/pkg/fileutil\n### Workarounds\nMake sure these directories have the desired permit (700).\n\n### References\nFind out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En etcd versiones anteriores a 3.3.23 y 3.4.10, determinadas rutas de directorio son creadas (directorio de datos de etcd y la ruta de directorio cuando se proporcionaba para generar automáticamente certificados autofirmados para conexiones TLS con clientes) con permisos de acceso restringido (700) usando os.MkdirAll. Esta función no realiza ninguna comprobación de permisos cuando una ruta de directorio dada ya existe. Una posible solución es asegurarse de que los directorios tengan el permiso deseado (700)","source":"nvd"}],"published":"2020-08-05T19:30:13.000Z","modified":"2026-09-10T03:50:09.439Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","score":3.6,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-281"],"affected":[{"ranges":[{"version":"< 3.3.23","status":"affected"},{"version":"< 3.4.10","status":"affected"}],"vendor":"etcd-io","product":"etcd","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.4.0-rc.0","status":"affected","fixed":"3.4.10"}],"ecosystem":"Go","package":"github.com/etcd-io/etcd","purl":"pkg:golang/github.com/etcd-io/etcd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.23"}],"ecosystem":"Go","package":"github.com/etcd-io/etcd","purl":"pkg:golang/github.com/etcd-io/etcd","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.23"},{"status":"affected","introduced":"3.4.0","fixed":"3.4.10"}],"vendor":"etcd","product":"etcd","cpe":"cpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.23"},{"type":"semver","introduced":"3.4.0","status":"affected","fixed":"3.4.10"}],"ecosystem":"Bitnami","package":"etcd","purl":"pkg:bitnami/etcd","source":"bitnami"}],"references":[{"url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15113","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/etcd-io/etcd/commit/6be5c54c94298ae6746a574d2af8227d0c9a998b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/etcd-io/etcd/commit/e5424fc474b274c9e6b5205165015bc2035745f2","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15113","url":"https://www.cve.org/CVERecord?id=CVE-2020-15113","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.262Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-chh6-ppwq-jh92","url":"https://github.com/advisories/GHSA-chh6-ppwq-jh92","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:09.439Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15113","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15113","licence":"Public domain","modified":"2026-06-17T02:56:04.760Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ETCD-2020-15113","url":"https://osv.dev/vulnerability/BIT-ETCD-2020-15113","licence":"Apache-2.0","modified":"2026-09-08T08:47:28.767Z"}],"updatedAt":"2026-11-25T22:57:53.828Z","epss":{"score":0.00218,"percentile":0.13096,"date":"2026-12-01T12:00:22.000Z"}}