Use After Free Vulnerability in FreeRTOS+FAT by Real Time Engineers
CVE-2019-18178
7.5HIGH
What is CVE-2019-18178?
The Real Time Engineers FreeRTOS+FAT library version 160919a contains a use after free vulnerability that can be exploited due to improper management of file handlers. Specifically, the function FF_Close() frees the file handler pxFile using ffconfigFREE, which essentially calls vPortFree(). This pointer is later reused in the FF_FlushCache() function to attempt to flush modified content from cache to disk, creating a window of opportunity for potential exploitation. Developers utilizing this version should review their implementation and apply necessary updates to mitigate associated risks.