CVE-2024-8946CWE-122

MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow

Medium · published September 17, 2024

CVSS v4.0
6.9
EPSS
1%
Percentile
62.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS
0.01015 · 62.9th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2024-09-17T18:31Z
EPSS history
Timeline
  • 17 SEP 18:31Z
    MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
    cvelistv5