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 manipulat
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | micropython-copy | all versions | no fix |
| Python (PyPI) | micropython-io | all versions | no fix |
| Python (PyPI) | micropython-os-path | all versions | no fix |
| Python (PyPI) | micropython-string | all versions | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8946
- https://github.com/micropython/micropython/issues/13006
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455
- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-91.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-93.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-os-path/PYSEC-2024-95.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-string/PYSEC-2024-96.yaml
- https://vuldb.com/?ctiid.277764
- https://vuldb.com/?id.277764
- https://vuldb.com/?submit.409312
- https://github.com/advisories/GHSA-74qm-4v7r-jw2f
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-122, CWE-787- Platform
- Python (PyPI)
- Package
micropython-copy, micropython-io, micropython-os-path- Disclosed
- 17.09.2024
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2024-91 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-93 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-95 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-74qm-4v7r-jw2f - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-96 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: micropython-copy
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 12.2023 09.2024
- Without a fix
- 4
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
Disclosures per year
- 2023: 1
- 2024: 3
- 2025: 0
- 2026: 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 manipulat this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.