UpdateHub Module Copies a Variable-Size Hash String Into a Fixed-Size Array (zephyrproject-rtos zephyr)
At a glance
- Source
- NVD
- EPSS
- EPSS 2.32 % Β· percentile 83 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- zephyr
- NVD status
- Modified
Description
A malformed JSON payload that is received from an UpdateHub server may trigger memory corruption in the Zephyr OS. This could result in a denial of service in the best case, or code execution in the worst case. See NCC-NCC-016 This issue affects: zephyrproject-rtos zephyr version 2.1.0 and later versions. version 2.2.0 and later versions.
Weaknesses (CWE)
- CWE-120 β Buffer Copy without Checking Size of Input
References
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-28
- https://github.com/zephyrproject-rtos/zephyr/pull/24154
- https://github.com/zephyrproject-rtos/zephyr/pull/24065
- https://github.com/zephyrproject-rtos/zephyr/pull/24066
- https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10022
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | zephyr |
| CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD Β· vulnerabilities@zephyrproject.org (Secondary) |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2020-2487
- GCVE Β· GCVE-0-2020-10022
Affected configurations (NVD CPE)
cpe:2.3:o:zephyrproject:zephyr:2.1.0:*:*:*:*:*:*:*cpe:2.3:o:zephyrproject:zephyr:2.2.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| zephyrproject-rtos Β· zephyr | affected 2.1.0 < unspecified ; affected 2.2.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 |