Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Amazon | Freertos | >= 10.2.0, < 10.4.6 |
References
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2Release NotesThird Party Advisory
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-3
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.6Release NotesThird Party Advisory
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.5.0
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2Release NotesThird Party Advisory
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-3
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.6Release NotesThird Party Advisory
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.5.0
FAQ
What is CVE-2021-43997?
CVE-2021-43997 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 thir...
How severe is CVE-2021-43997?
CVE-2021-43997 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-43997?
Check the references section above for vendor advisories and patch information. Affected products include: Amazon Freertos.