CVE-2024-8946
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
micropython-copyPyPI | <= 3.3.3.post3 | — |
micropython-ioPyPI | <= 0.1 | — |
micropython-os-pathPyPI | <= 0.1.3 | — |
micropython-stringPyPI | <= 0.1 | — |
Affected products
6- ghsa-coords4 versionspkg:pypi/micropython-copypkg:pypi/micropython-iopkg:pypi/micropython-os-pathpkg:pypi/micropython-string
<= 3.3.3.post3+ 3 more
- (no CPE)range: <= 3.3.3.post3
- (no CPE)range: <= 0.1
- (no CPE)range: <= 0.1.3
- (no CPE)range: <= 0.1
(expand)+ 1 more
- (no CPE)
- cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
12- github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68bnvdPatchWEB
- github.com/micropython/micropython/issues/13006nvdExploitIssue TrackingWEB
- github.com/micropython/micropython/issues/13006nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-74qm-4v7r-jw2fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-8946ghsaADVISORY
- vuldb.comnvdThird Party AdvisoryWEB
- vuldb.comnvdThird Party AdvisoryWEB
- github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-91.yamlghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-93.yamlghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/micropython-os-path/PYSEC-2024-95.yamlghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/micropython-string/PYSEC-2024-96.yamlghsaWEB
- vuldb.comnvdPermissions RequiredWEB
News mentions
0No linked articles in our index yet.