CVE-2021-43997
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.34%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.34% probability · 27th percentile
- CISA KEV
- Not listed
- Affected
- amazon/freertos
- Source
- cve@mitre.org
References
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2Release Notes, Third 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 Notes, Third 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 Notes, Third 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 Notes, Third Party Advisory
- https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.5.0
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.