Buffer Overflow in USB DFU requested length (zephyrproject-rtos zephyr)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.45 % · percentile 39 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- zephyr
- NVD status
- Modified
Description
USB DFU has a potential buffer overflow where the requested length (wLength) is not checked against the buffer size. This could be used by a malicious USB host to exploit the buffer overflow. See NCC-ZEP-002 This issue affects: zephyrproject-rtos zephyr version 1.14.1 and later versions. version 2.1.0 and later versions.
Weaknesses (CWE)
- CWE-120 — Buffer Copy without Checking Size of Input
References
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-25
- https://github.com/zephyrproject-rtos/zephyr/pull/23190
- https://github.com/zephyrproject-rtos/zephyr/pull/23457
- https://github.com/zephyrproject-rtos/zephyr/pull/23460
- https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10019
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | zephyr |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD · vulnerabilities@zephyrproject.org (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2020-2484
- GCVE · GCVE-0-2020-10019
Affected configurations (NVD CPE)
cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*< 1.14.2cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*≥ 2.0.0 ≤ 2.1.0
Affected products
| Product | Versions |
|---|---|
| zephyrproject-rtos · zephyr | affected 1.14.1 < unspecified ; affected 2.1.0 < unspecified |
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 |
| 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 |