Vulnerability Description
Azure RTOS FileX is a FAT-compatible file system that’s fully integrated with Azure RTOS ThreadX. In versions before 6.2.0, the Fault Tolerant feature of Azure RTOS FileX includes integer under and overflows which may be exploited to achieve buffer overflow and modify memory contents. When a valid log file with correct ID and checksum is detected by the `_fx_fault_tolerant_enable` function an attempt to recover the previous failed write operation is taken by call of `_fx_fault_tolerant_apply_logs`. This function iterates through the log entries and performs required recovery operations. When properly crafted a log including entries of type `FX_FAULT_TOLERANT_DIR_LOG_TYPE` may be utilized to introduce unexpected behavior. This issue has been patched in version 6.2.0. A workaround to fix line 218 in fx_fault_tolerant_apply_logs.c is documented in the GHSA.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Azure Rtos Filex | < 6.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/azure-rtos/filex/blob/master/common/src/fx_fault_tolerant_appPatchThird Party Advisory
- https://github.com/azure-rtos/filex/security/advisories/GHSA-8jqf-wjhq-4w9fExploitMitigationThird Party Advisory
- https://github.com/azure-rtos/filex/blob/master/common/src/fx_fault_tolerant_appPatchThird Party Advisory
- https://github.com/azure-rtos/filex/security/advisories/GHSA-8jqf-wjhq-4w9fExploitMitigationThird Party Advisory
FAQ
What is CVE-2022-39343?
CVE-2022-39343 is a vulnerability with a CVSS score of 5.6 (MEDIUM). Azure RTOS FileX is a FAT-compatible file system that’s fully integrated with Azure RTOS ThreadX. In versions before 6.2.0, the Fault Tolerant feature of Azure RTOS FileX includes integer under and ov...
How severe is CVE-2022-39343?
CVE-2022-39343 has been rated MEDIUM with a CVSS base score of 5.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-39343?
Check the references section above for vendor advisories and patch information. Affected products include: Microsoft Azure Rtos Filex.