CVE-2021-27431: ARM CMSIS RTOS2 Integer Overflow or Wraparound
Published May 3, 2022
·Updated
ARM CMSIS RTOS2 versions prior to 2.1.3 are vulnerable to integer wrap-around inosRtxMemoryAlloc (local malloc equivalent) function, which can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or injected code execution.
Affected Software
30 affected components
Arm Cmsis-rtos<=2.1.3
Multiple Amazon FreeRTOS, Version 10.4.1
Multiple Apache Nuttx OS, Version 9.1.0
Multiple ARM CMSIS-RTOS2, versions prior to 2.1.3
Multiple ARM Mbed OS, Version 6.3.0
Multiple ARM mbed-ualloc, Version 1.3.0
Multiple BlackBerry QNX SDP Versions 6.5.0 SP1 and earlier
Multiple BlackBerry QNX OS for Safety Versions 1.0.1 and earlier safety products compliant with IEC 61508 and/or ISO 26262
Multiple BlackBerry QNX OS for Medical Versions 1.1 and earlier safety products compliant with IEC 62304
A full list of affected QNX products and versions is available here
Multiple A full list of affected QNX products and versions is available here
Multiple Cesanta Software Mongoose OS, v2.17.0
Multiple eCosCentric eCosPro RTOS, Versions 2.0.1 through 4.5.3
Multiple Google Cloud IoT Device SDK, Version 1.0.2
Multiple Media Tek LinkIt SDK, versions prior to 4.6.1
Multiple Micrium OS, Versions 5.10.1 and prior
Multiple Micrium uC/OS: uC/LIB Versions 1.38.xx, Version 1.39.00
Multiple NXP MCUXpresso SDK, versions prior to 2.8.2
Multiple NXP MQX, Versions 5.1 and prior
Multiple Redhat newlib, versions prior to 4.0.0
Multiple RIOT OS, Version 2020.01.1
Multiple Samsung Tizen RT RTOS, versions prior 3.0.GBB
Multiple TencentOS-tiny, Version 3.1.0
Multiple Texas Instruments CC32XX, versions prior to 4.40.00.07
Multiple Texas Instruments SimpleLink MSP432E4XX
Multiple Texas Instruments SimpleLink-CC13XX, versions prior to 4.40.00
Multiple Texas Instruments SimpleLink-CC26XX, versions prior to 4.40.00
Multiple Texas Instruments SimpleLink-CC32XX, versions prior to 4.10.03
Multiple Uclibc-NG, versions prior to 1.0.36
Multiple Windriver VxWorks, prior to 7.0
Multiple Zephyr Project RTOS, versions prior to 2.5
Remediation
Information
ARM CMSIS-RTOS2 – Update in progress, expected in June
Event History
May 3, 2022
CVE Published
via MITRE·08:23 PM
Data Sourced
via MITRE·08:23 PM
RemedyDescriptionSeverityWeakness
Frequently Asked Questions
1
What is the vulnerability ID for this vulnerability?
The vulnerability ID for this vulnerability is CVE-2021-27431.
2
What is the severity level of CVE-2021-27431?
The severity level of CVE-2021-27431 is critical (9.8).
3
Which software versions are affected by CVE-2021-27431?
ARM CMSIS RTOS2 versions prior to 2.1.3 are affected by CVE-2021-27431.
4
What is the impact of CVE-2021-27431?
CVE-2021-27431 can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or injected code execution.
5
Is there a fix available for CVE-2021-27431?
Yes, the fix for CVE-2021-27431 is to update to ARM CMSIS RTOS2 version 2.1.3 or later.