Use After Free in Amazon Freertos\+fat

CVE-2019-18178

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().

Vulnerability class: Use-After-Free

EPSS: 0.009 (56.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-18178?
CVE-2019-18178 is a high-severity vulnerability in Amazon Freertos\+fat, classified under Use After Free. CVSS score: 7.5/10. Published 2019-11-04.
How severe is CVE-2019-18178?
High severity. CVSS v3 base score is 7.5 out of 10.