Improper Input Validation in etcd (etcd-io etcd)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.26 % · percentile 69 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-m332-53r6-2w93 — etcd's WAL `ReadAll` method vulnerable to an entry with large index causing panic
- GHSA-p4g4-wgrh-qrg2 — Panic due to malformed WALs in go.etcd.io/etcd
- GO-2020-0005 — Panic due to malformed WALs in go.etcd.io/etcd
European references
- ENISA EUVD · EUVD-2023-0749
- GCVE · GCVE-0-2020-15106
CERT-FR advisories
- CERTFR-2024-AVI-0199 — Multiples vulnérabilités dans IBM · cert.ssi.gouv.fr
- CERTFR-2022-AVI-591 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:*< 3.3.23cpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:*≥ 3.4.0 < 3.4.10cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| etcd-io · etcd | affected < 3.3.23 ; affected < 3.4.10 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |