Vulnerability Details : CVE-2020-10019
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.
Vulnerability category: Overflow
Products affected by CVE-2020-10019
- cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*
- cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-10019
0.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 16 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-10019
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
1.4
|
6.0
|
Zephyr Project |
CWE ids for CVE-2020-10019
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by:
- nvd@nist.gov (Primary)
- vulnerabilities@zephyrproject.org (Secondary)
References for CVE-2020-10019
-
https://github.com/zephyrproject-rtos/zephyr/pull/23460
Backport: usb: dfu: check requested length (wLength) during DFU_UPLOAD by d3zd3z · Pull Request #23460 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
-
https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10019
Vulnerabilities — Zephyr Project Documentation
-
https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-25
[ZEPSEC-25] Buffer Overflow in USB DFU requested length - Zephyr Project Security IssuesThird Party Advisory
-
https://github.com/zephyrproject-rtos/zephyr/pull/23457
[v2.1-branch] usb: dfu: check requested length (wLength) during DFU_UPLOAD by d3zd3z · Pull Request #23457 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
-
https://github.com/zephyrproject-rtos/zephyr/pull/23190
usb: dfu: check requested length (wLength) during DFU_UPLOAD by jfischer-phytec-iot · Pull Request #23190 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
Jump to