Buffer overflow in Micropython
CVE-2024-8946
- CVSS v3
- 7.3 High
- Public exploits
- None known
- EPSS
- 0.010 · 63.9th percentile
- Published
- 2024-09-17
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.010, 63.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Micropython — versions 1.23.0
- Micropython — versions 1.23.0
Weakness classification (CWE)
References
- VDB-277764 | MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow (technical-description, Third Party Advisory, vdb-entry)
- VDB-277764 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required)
- Submit #409312 | micropython v1.23.0 Heap-based Buffer Overflow (Third Party Advisory, third-party-advisory)
- github.com/micropython/micropython/issues/13006 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/micropython/micropython/issues/13006 (issue-tracking, Exploit, Third Party Advisory)
- github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea… (Patch, patch)