{"id":"UBUNTU-CVE-2020-15112","details":"In etcd before versions 3.3.23 and 3.4.10, it is possible to have an entry index greater then the number of entries in the ReadAll method in wal/wal.go. This could cause issues when WAL entries are being read during consensus as an arbitrary etcd consensus participant could go down from a runtime panic when reading the entry.","modified":"2026-03-25T18:24:41.680576Z","published":"2020-08-05T20:15:00Z","related":["USN-5628-1","USN-5628-2"],"upstream":["CVE-2020-15112"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-15112"},{"type":"REPORT","url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93"},{"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-15112"}],"affected":[{"package":{"name":"etcd","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/etcd@2.2.5+dfsg-1ubuntu1?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-15112.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/etcd@3.2.17+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"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-15112.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/etcd@3.2.26+dfsg-6ubuntu0.1?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-15112.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/etcd@3.3.25+dfsg-7ubuntu0.22.04.2+esm3?arch=source&distro=esm-apps/jammy"},"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-15112.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/etcd@3.4.30-1ubuntu0.24.04.3+esm2?arch=source&distro=esm-apps/noble"},"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-15112.json"}},{"package":{"name":"etcd","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/etcd@3.5.16-4?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-15112.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}