PT-2022-24913 · Microsoft · Azure Rtos Filex

Published

2022-11-08

·

Updated

2022-11-10

·

CVE-2022-39343

CVSS v3.1

5.6

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions Azure RTOS FileX versions prior to 6.2.0
Description 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.
Recommendations For Azure RTOS FileX versions prior to 6.2.0, update to version 6.2.0 to resolve the issue. As a temporary workaround, consider fixing line 218 in fx fault tolerant apply logs.c as documented in the GHSA.

Exploit

Fix

Integer Underflow

Integer Overflow

Buffer Overflow

Weakness Enumeration

Related Identifiers

CVE-2022-39343
GHSA-8JQF-WJHQ-4W9F

Affected Products

Azure Rtos Filex