CVE Vulnerabilities

CVE-2021-3510

Attempt to Access Child of a Non-structure Pointer

Published: Oct 05, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

Zephyr JSON decoder incorrectly decodes array of array. Zephyr versions >= >1.14.0, >= >2.5.0 contain Attempt to Access Child of a Non-structure Pointer (CWE-588). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-289f-7mw3-2qf4

Weakness

Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.

Affected Software

NameVendorStart VersionEnd Version
ZephyrZephyrproject1.14.0 (including)1.14.0 (including)
ZephyrZephyrproject1.14.0-rc1 (including)1.14.0-rc1 (including)
ZephyrZephyrproject1.14.0-rc2 (including)1.14.0-rc2 (including)
ZephyrZephyrproject1.14.0-rc3 (including)1.14.0-rc3 (including)
ZephyrZephyrproject1.14.1 (including)1.14.1 (including)
ZephyrZephyrproject1.14.1-rc1 (including)1.14.1-rc1 (including)
ZephyrZephyrproject1.14.1-rc2 (including)1.14.1-rc2 (including)
ZephyrZephyrproject1.14.1-rc3 (including)1.14.1-rc3 (including)
ZephyrZephyrproject1.14.2 (including)1.14.2 (including)
ZephyrZephyrproject1.14.3-rc1 (including)1.14.3-rc1 (including)
ZephyrZephyrproject1.14.3-rc2 (including)1.14.3-rc2 (including)
ZephyrZephyrproject2.5.0 (including)2.5.0 (including)
ZephyrZephyrproject2.5.0-rc1 (including)2.5.0-rc1 (including)
ZephyrZephyrproject2.5.0-rc2 (including)2.5.0-rc2 (including)
ZephyrZephyrproject2.5.0-rc3 (including)2.5.0-rc3 (including)
ZephyrZephyrproject2.5.0-rc4 (including)2.5.0-rc4 (including)
ZephyrZephyrproject2.5.1-rc1 (including)2.5.1-rc1 (including)
ZephyrZephyrproject2.6.0 (including)2.6.0 (including)
ZephyrZephyrproject2.6.0-rc1 (including)2.6.0-rc1 (including)
ZephyrZephyrproject2.6.0-rc2 (including)2.6.0-rc2 (including)
ZephyrZephyrproject2.6.0-rc3 (including)2.6.0-rc3 (including)
ZephyrZephyrproject2.6.1-rc1 (including)2.6.1-rc1 (including)

Potential Mitigations

References