CVE-2021-43997: Amazon Freertos
High severity, CVSS 7.8. EPSS: 0.3% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Amazon Freertos, from 10.2.0, before 10.4.6: fixed in 10.4.6
Affected products
Published 2021-11-17. Last modified 2026-06-17.