CVE-2024-8946
Heap-based Buffer Overflow in MicroPython
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.
How to fix CVE-2024-8946
To remediate CVE-2024-8946, upgrade the affected package to a fixed version below.
- —upgrade to 1.24.0+ds-1 or later
- —upgrade to 29943546343c92334e8518695a11fc0e2ceea68b or later
- —no fix listed
- —upgrade to 29943546343c92334e8518695a11fc0e2ceea68b or later
- —no fix listed
- —no fix listed
- —upgrade to 29943546343c92334e8518695a11fc0e2ceea68b or later
- —no fix listed
- —upgrade to 29943546343c92334e8518695a11fc0e2ceea68b or later
Is CVE-2024-8946 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (9)
- from 0, < 1.24.0+ds-1
- from 0, < 29943546343c92334e8518695a11fc0e2ceea68b | from 0
- from 0, <= 3.3.3.post3
- from 0, < 29943546343c92334e8518695a11fc0e2ceea68b | from 0
- from 0, <= 0.1
- from 0, <= 0.1.3
- from 0, < 29943546343c92334e8518695a11fc0e2ceea68b | from 0
- from 0, <= 0.1
- from 0, < 29943546343c92334e8518695a11fc0e2ceea68b | from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |