{"id":"UBUNTU-CVE-2020-15113","details":"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).","modified":"2026-05-20T16:06:21.259173822Z","published":"2020-08-05T20:15:00Z","related":["USN-5628-1","USN-5628-2"],"upstream":["CVE-2020-15113"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-15113"},{"type":"REPORT","url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5628-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5628-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-15113"}],"affected":[{"package":{"name":"etcd","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.0+dfsg-2","2.2.1+dfsg-1","2.2.2+dfsg-1","2.2.2+dfsg-2","2.2.3+dfsg-1","2.2.5+dfsg-1","2.2.5+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd","binary_version":"2.2.5+dfsg-1ubuntu1"},{"binary_name":"golang-etcd-server-dev","binary_version":"2.2.5+dfsg-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.17+dfsg-1ubuntu0.1~esm1"}]}],"versions":["3.1.0-1","3.2.9+dfsg-2","3.2.9+dfsg-3","3.2.17+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd","binary_version":"3.2.17+dfsg-1ubuntu0.1~esm1"},{"binary_name":"etcd-client","binary_version":"3.2.17+dfsg-1ubuntu0.1~esm1"},{"binary_name":"etcd-server","binary_version":"3.2.17+dfsg-1ubuntu0.1~esm1"},{"binary_name":"golang-etcd-server-dev","binary_version":"3.2.17+dfsg-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.26+dfsg-6ubuntu0.1"}]}],"versions":["3.2.26+dfsg-3","3.2.26+dfsg-4","3.2.26+dfsg-6"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd","binary_version":"3.2.26+dfsg-6ubuntu0.1"},{"binary_name":"etcd-client","binary_version":"3.2.26+dfsg-6ubuntu0.1"},{"binary_name":"etcd-server","binary_version":"3.2.26+dfsg-6ubuntu0.1"},{"binary_name":"golang-etcd-server-dev","binary_version":"3.2.26+dfsg-6ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.25+dfsg-6","3.3.25+dfsg-7","3.3.25+dfsg-7ubuntu0.22.04.1","3.3.25+dfsg-7ubuntu0.22.04.1+esm1","3.3.25+dfsg-7ubuntu0.22.04.2","3.3.25+dfsg-7ubuntu0.22.04.2+esm1","3.3.25+dfsg-7ubuntu0.22.04.2+esm2","3.3.25+dfsg-7ubuntu0.22.04.2+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd","binary_version":"3.3.25+dfsg-7ubuntu0.22.04.2+esm3"},{"binary_name":"etcd-client","binary_version":"3.3.25+dfsg-7ubuntu0.22.04.2+esm3"},{"binary_name":"etcd-server","binary_version":"3.3.25+dfsg-7ubuntu0.22.04.2+esm3"},{"binary_name":"golang-etcd-server-dev","binary_version":"3.3.25+dfsg-7ubuntu0.22.04.2+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.23-4ubuntu2","3.4.30-1","3.4.30-1build1","3.4.30-1ubuntu0.24.04.1","3.4.30-1ubuntu0.24.04.2","3.4.30-1ubuntu0.24.04.2+esm1","3.4.30-1ubuntu0.24.04.3","3.4.30-1ubuntu0.24.04.3+esm1","3.4.30-1ubuntu0.24.04.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd-client","binary_version":"3.4.30-1ubuntu0.24.04.3+esm2"},{"binary_name":"etcd-server","binary_version":"3.4.30-1ubuntu0.24.04.3+esm2"},{"binary_name":"golang-etcd-server-dev","binary_version":"3.4.30-1ubuntu0.24.04.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.16-4"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd-client","binary_version":"3.5.16-4"},{"binary_name":"etcd-server","binary_version":"3.5.16-4"},{"binary_name":"golang-etcd-server-dev","binary_version":"3.5.16-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/etcd?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.16-4","3.5.16-10"],"ecosystem_specific":{"binaries":[{"binary_name":"etcd-client","binary_version":"3.5.16-10"},{"binary_name":"etcd-server","binary_version":"3.5.16-10"},{"binary_name":"golang-etcd-server-dev","binary_version":"3.5.16-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15113.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}