CVE-2024-8946
published medium CVSS 4.0 · 6.9MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | MicroPython1.23.0 | Affected | Not stated | VulDB |
| micropython | — | micropython1.23.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Ubuntu | focal | micropython | Advisory build | 1.12-1ubuntu0.1~esm1 | USN-7472-1 |
| Ubuntu | jammy | micropython | Advisory build | 1.17+ds-1.1ubuntu2+esm1 | USN-7472-1 |
| Ubuntu | noble | micropython | Advisory build | 1.22.1+ds-1ubuntu0.24.04.1~esm1 | USN-7472-1 |
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.
Es wurde eine kritische Schwachstelle in MicroPython 1.23.0 ausgemacht. Betroffen hiervon ist die Funktion mp_vfs_umount der Datei extmod/vfs.c der Komponente VFS Unmount Handler. Durch die Manipulation mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff über das Netzwerk. Der Exploit steht zur öffentlichen Verfügung. Der Patch wird als 29943546343c92334e8518695a11fc0e2ceea68b bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | — |
| 3.0 | 7.3 | high | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | MicroPython | 1.23.0 (affected) | VulDB · cna |
| micropython | micropython | 1.23.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
6- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b
- https://github.com/micropython/micropython/issues/13006
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455
- VDB-277764 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.277764
- VDB-277764 | MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow https://vuldb.com/?id.277764
- Submit #409312 | micropython v1.23.0 Heap-based Buffer Overflow https://vuldb.com/?submit.409312
Provider assertions
2VulDB · cna
MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f55040ce606032abb89817fbcd8786fada87a5983f1366e5ce448944bd5c23c4
- Ingested
- 23 Sep 2026, 08:34:23 UTC
- Source record
- Official CVE record