CVE-2024-8946
MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
- State
- Published
- Severity
- 6.9 Medium
- Published
- Sep 17, 2024
- Updated
- Sep 17, 2024
- Reserved
- Sep 17, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulDB |
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 3.0 | 7.3 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P | VulDB |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
MicroPythonn/a |
|
References
- VDB-277764 | MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflowvdb-entrytechnical-description
- VDB-277764 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #409312 | micropython v1.23.0 Heap-based Buffer Overflowthird-party-advisory
- https://github.com/micropython/micropython/issues/13006exploitissue-tracking
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455issue-tracking
- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68bpatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.