UpdateHub Might Dereference An Uninitialized Pointer (zephyrproject-rtos zephyr)
En bref
- Source
- NVD
- EPSS
- EPSS 1.56 % · centile 75 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- zephyr
- Statut NVD
- Modified
Rechercher sur…
Description
In updatehub_probe, right after JSON parsing is complete, objects\[1] is accessed from the output structure in two different places. If the JSON contained less than two elements, this access would reference unitialized stack memory. This could result in a crash, denial of service, or possibly an information leak. Provided the fix in CVE-2020-10059 is applied, the attack requires compromise of the server. See NCC-ZEP-030 This issue affects: zephyrproject-rtos zephyr version 2.1.0 and later versions. version 2.2.0 and later versions.
Faiblesses (CWE)
- CWE-119 — Opération hors des limites d'un tampon mémoire
- CWE-824 — Accès à un pointeur non initialisé
Références
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-37
- https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10060
- https://github.com/zephyrproject-rtos/zephyr/pull/27865
- https://github.com/zephyrproject-rtos/zephyr/pull/27889
- https://github.com/zephyrproject-rtos/zephyr/pull/27891
- https://github.com/zephyrproject-rtos/zephyr/pull/27893
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | zephyr |
| CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | NVD · vulnerabilities@zephyrproject.org (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:N/A:P | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2020-2525
- GCVE · GCVE-0-2020-10060
Configurations affectées (CPE NVD)
cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*≥ 2.1.0 < 2.4.0
Produits affectés
| Produit | 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 |