Loading HuntDB...

GHSA-74qm-4v7r-jw2f

GitHub Security Advisory

Heap-based Buffer Overflow in MicroPython

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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.

Affected Packages

PyPI micropython-copy
Affected versions: 0 (last affected: 3.3.3.post3)
PyPI micropython-io
Affected versions: 0 (last affected: 0.1)
PyPI micropython-os-path
Affected versions: 0 (last affected: 0.1.3)
PyPI micropython-string
Affected versions: 0 (last affected: 0.1)

Related CVEs

Key Information

GHSA ID
GHSA-74qm-4v7r-jw2f
Published
September 17, 2024 9:30 PM
Last Modified
September 25, 2024 6:23 PM
CVSS Score
5.0 /10
Primary Ecosystem
PyPI
Primary Package
micropython-copy
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 15, 2025 6:24 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.