Integer overflow in FreeRTOS - CVE-2021-31571

 

Integer overflow in FreeRTOS - CVE-2021-31571

Published: April 30, 2021 / Updated: January 26, 2022


Vulnerability identifier: #VU52768
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-31571
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in queue.c for queue creation. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

FreeRTOS
ESP-IDF

How to mitigate CVE-2021-31571

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

FreeRTOS - update to 10.4.2
ESP-IDF - addressed in versions 3.3.6, 4.0.3, 4.2.2, 4.3

External References

Related Security Bulletins