Vulnerability in Amazon Freertos
CVE-2021-43997
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 27.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Amazon Freertos — versions 10.4.3
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (espressif/esp-idf-sbom). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2 (Third Party Advisory, Release Notes)
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.6 (Third Party Advisory, Release Notes)
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.5.0
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-3