A vulnerability was found in MicroPython 1.23.0. It has been classified as critical. Affected is the function mp_vfs_umount of the file extmod/vfs.c of the component VFS Unmount Handler. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 29943546343c92334e8518695a11fc0e2ceea68b. It is recommended to apply a patch to fix this issue. In the VFS unmount process, the comparison between the mounted path string and the unmount requested string is based solely on the length of the unmount string, which can lead to a heap buffer overflow read.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://vuldb.com/?id.277764 | third party advisory vdb entry technical description |
https://vuldb.com/?ctiid.277764 | signature permissions required |
https://vuldb.com/?submit.409312 | third party advisory |
https://github.com/micropython/micropython/issues/13006 | issue tracking exploit |
https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 | third party advisory issue tracking exploit |
https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b | patch |