CVE-2019-18178 Use after free in n/a
A use-after-free vulnerability in FreeRTOS+FAT allows attackers to execute arbitrary code or cause denial of service via improper file handler handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-18178?
CVE-2019-18178 is a high-severity use after free vulnerability in n/a, published on 4 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Real Time Engineers FreeRTOS+FAT 160919a has a use after free. The function FF_Close() is defined in ff_file.c. The file handler pxFile is freed by ffconfigFREE, which (by default) is a macro definition of vPortFree(), but it is reused to flush modified file content from the cache to disk by the function FF_FlushCache().
Weakness: CWE-416
Which versions are affected by CVE-2019-18178?
It affects 1 product.
Products include Amazon Freertos\+fat.
How do I fix CVE-2019-18178?
No fix has been published for CVE-2019-18178 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2019-18178 being exploited?
There is no known exploitation of CVE-2019-18178 in the wild and no public exploit code.
Sources
Also known as GHSA-9f2j-wvcr-653r.