PT-2022-9819 · Arm · Arm Cmsis Rtos2

Published

2022-05-03

·

Updated

2022-05-13

·

CVE-2021-27431

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions ARM CMSIS RTOS2 versions prior to 2.1.3
Description The issue is related to an integer wrap-around in the osRtxMemoryAlloc function, which is a local equivalent of the malloc function. This can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or injected code execution.
Recommendations For ARM CMSIS RTOS2 versions prior to 2.1.3, update to version 2.1.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of the osRtxMemoryAlloc function to minimize the risk of exploitation.

Fix

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-27431

Affected Products

Arm Cmsis Rtos2