Vulnerabilities · 2021 · Amazon
CVE-2021-43997
Amazon Freertos vulnerability
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.
Affected products
Freertos. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Amazon Freertos runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-2 · Third Party Advisory
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.6 · Third Party Advisory
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.4.3-LTS-Patch-3
- github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V10.5.0
- nvd.nist.gov/vuln/detail/CVE-2021-43997
- cve.org/CVERecord?id=CVE-2021-43997
More vulnerabilities in Amazon products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.