NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-8946: Heap-based Buffer Overflow in MicroPython

mediumCVSS 4.0 6.9 · 3.1 7.3GHSA-74qm-4v7r-jw2f

A vulnerability was found in MicroPython 1.23.0. It has been classified as critical. Affected is the function mpvfsumount 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.

Published Sep 17, 2024 · Updated Sep 25, 2024

Affected packages

micropython-copy

Ecosystem
PyPI
Affected
<= 3.3.3.post3
Fixed in
No patched version yet
Check
pip show micropython-copy

micropython-io

Ecosystem
PyPI
Affected
<= 0.1
Fixed in
No patched version yet
Check
pip show micropython-io

micropython-os-path

Ecosystem
PyPI
Affected
<= 0.1.3
Fixed in
No patched version yet
Check
pip show micropython-os-path

micropython-string

Ecosystem
PyPI
Affected
<= 0.1
Fixed in
No patched version yet
Check
pip show micropython-string

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries