CVE-2024-8946

published 17 Sep 2024 · updated 17 Sep 2024

MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow

8.3HighCVSS 7.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=1.23.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8946 severity on Zeptric[![CVE-2024-8946](https://zeptric.io/badge/cve/CVE-2024-8946.svg)](https://zeptric.io/cve/CVE-2024-8946)