Apache Software Foundation Apache NuttX RTOS
Apache NuttX RTOS: fs/vfs/fs_rename: use after free
Use After Free vulnerability was discovered in fs/vfs/fs_rename code of the Apache NuttX RTOS, that due recursive implementation and single buffer use by two different pointer variables allowed arbitrary user provided size buffer reallocation and write to the previously freed heap chunk, that in specific cases could cause unintended virtual filesystem rename/move operation results. This issue affects Apache NuttX RTOS: from 7.20 before 12.11.0. Users of virtual filesystem based services with write access especially when exposed over the network (i.e. FTP) are affected and recommended to upgrade to version 12.11.0 that fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 7.20, < 12.11.0
Fixed in 12.11.0
Mitigation
Upgrade Apache NuttX RTOS to 12.11.0 or later.
References
- Patch github.com/apache/nuttx/pull/16455
- Vendor advisory lists.apache.org/thread/7m83v11ldfq7bvw72n9t5sccoccz…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.