First published: Wed Nov 17 2021(Updated: )
FreeRTOS versions 10.2.0 through 10.4.5 do not prevent non-kernel code from calling the xPortRaisePrivilege internal function to raise privilege. FreeRTOS versions through 10.4.6 do not prevent a third party that has already independently gained the ability to execute injected code to achieve further privilege escalation by branching directly inside a FreeRTOS MPU API wrapper function with a manually crafted stack frame. These issues affect ARMv7-M MPU ports, and ARMv8-M ports with MPU support enabled (i.e. configENABLE_MPU set to 1). These are fixed in V10.5.0 and in V10.4.3-LTS Patch 3.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Amazon Freertos | >=10.2.0<10.4.6 | |
Amazon Freertos | =10.4.3-patch1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-43997 is a vulnerability in FreeRTOS versions 10.2.0 through 10.4.5 that allows non-kernel code to call a privileged internal function.
CVE-2021-43997 has a severity rating of 7.8 (high).
FreeRTOS versions 10.2.0 through 10.4.5 are affected by CVE-2021-43997.
A third party that has already gained the ability to execute injected code can exploit CVE-2021-43997 to achieve further privilege escalation.
You can find more information about CVE-2021-43997 in the FreeRTOS GitHub releases page: [Link](https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2)