{"id":"CVE-2020-15106","aliases":["CVE-2020-15106","GHSA-m332-53r6-2w93","BIT-ETCD-2020-15106","BIT-ETCD-2020-15112","GHSA-p4g4-wgrh-qrg2","GO-2020-0005"],"related":["CVE-2020-15112","CGA-92v5-v29p-6fhv"],"kind":"vulnerability","state":"published","title":"Improper Input Validation in etcd","summary":"In etcd before versions 3.3.23 and 3.4.10, a large slice causes panic in decodeRecord method. The size of a record is stored in the length field of a WAL file and no additional validation is done on this data. Therefore, it is possible to forge an extremely large frame size that can unintentionally panic at the expense of any RAFT participant trying to decode the WAL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In etcd before versions 3.3.23 and 3.4.10, a large slice causes panic in decodeRecord method. The size of a record is stored in the length field of a WAL file and no additional validation is done on this data. Therefore, it is possible to forge an extremely large frame size that can unintentionally panic at the expense of any RAFT participant trying to decode the WAL.","source":"cvelist"},{"lang":"en","text":"### Vulnerability type\nData Validation\n\n### Detail\nIn the ReadAll method in wal/wal.go, it is possible to have an entry index greater then the number of entries. 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.\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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"### Vulnerability type\nData Validation\n\n### Detail\nThe size of a record is stored in the length field of a WAL file and no additional validation is done on this data. Therefore, it is possible to forge an extremely large frame size that can unintentionally panic at the expense of any RAFT participant trying to decode the WAL.\n\n### Specific Go Packages Affected\ngithub.com/etcd-io/etcd/wal\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":"en","text":"Malformed WALs can be constructed such that WAL.ReadAll can cause attempted out of bounds reads, or creation of arbitrarily sized slices, which may be used as a DoS vector.","format":"markdown","source":"go"},{"lang":"es","text":"En etcd versiones anteriores a 3.3.23 y 3.4.10, un segmento grande causa pánico en el método decodeRecord. El tamaño de un registro es almacenado en el campo de longitud de un archivo WAL y no se hace ninguna comprobación adicional en estos datos. Por lo tanto, es posible forjar un tamaño de trama extremadamente grande que puede entrar en pánico involuntariamente a expensas de cualquier participante de RAFT que intente decodificar el WAL","source":"nvd"},{"lang":"en","text":"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.","format":"markdown","source":"bitnami"}],"published":"2020-08-05T19:05:13.000Z","modified":"2026-09-10T03:50:07.866Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20","CWE-129"],"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":"0","status":"affected","fixed":"3.3.23"}],"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.4.0","status":"affected","fixed":"3.4.10"}],"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.0-alpha.5.0.20200423152442-f4b650b51dc4"}],"ecosystem":"Go","package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.5.0-alpha.5.0.20200423152442-f4b650b51dc4"}],"ecosystem":"Go","package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","source":"go"},{"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"},{"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-p4g4-wgrh-qrg2","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://github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15112","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/etcd-io/etcd/pull/11793","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/etcd-io/etcd/commit/7d1cf640497cbcdfb932e619b13624112c7e3865","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/etcd-io/etcd/commit/f4b650b51dc4a53a8700700dc12e1242ac56ba07","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/etcd-io/etcd","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf","tags":["web"],"sources":["ghsa","go"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0005","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15106","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/etcd-io/etcd/commit/4571e528f49625d3de3170f219a45c3b3d38c675","tags":["web"],"sources":["ghsa"]}],"credits":["Trail of Bits"],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15106","url":"https://www.cve.org/CVERecord?id=CVE-2020-15106","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:21.619Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m332-53r6-2w93","url":"https://github.com/advisories/GHSA-m332-53r6-2w93","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:49.732Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p4g4-wgrh-qrg2","url":"https://github.com/advisories/GHSA-p4g4-wgrh-qrg2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:07.866Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2020-0005","url":"https://pkg.go.dev/vuln/GO-2020-0005","licence":"CC-BY-4.0","modified":"2026-02-04T03:10:38.304Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15106","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15106","licence":"Public domain","modified":"2026-06-17T02:56:03.950Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ETCD-2020-15106","url":"https://osv.dev/vulnerability/BIT-ETCD-2020-15106","licence":"Apache-2.0","modified":"2026-09-08T08:47:28.795Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ETCD-2020-15112","url":"https://osv.dev/vulnerability/BIT-ETCD-2020-15112","licence":"Apache-2.0","modified":"2026-09-08T08:47:31.878Z"}],"updatedAt":"2026-11-25T22:57:53.826Z","epss":{"score":0.01256,"percentile":0.70358,"date":"2026-12-01T12:00:22.000Z"}}