MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
Published Sep 17, 2024
6.9
MEDIUMCVSS 4.0
EPSS 1.01%
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.
Affected products
- Vendor n/a Product MicroPython Defaultn/a
- Version 1.23.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | MicroPython | n/a |
|
- 1.23.0
-
- Version 1.23.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Micropython | Micropython | n/a |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (13)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0102 Advisory
- https://github.com/advisories/GHSA-74qm-4v7r-jw2f Advisory
- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b patch
- https://github.com/micropython/micropython/issues/13006 exploitissue-trackingIssue Tracking
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 issue-trackingExploitThird Party Advisory
- 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://nvd.nist.gov/vuln/detail/CVE-2024-8946
- https://vuldb.com/?ctiid.277764 signaturepermissions-requiredPermissions Required
- https://vuldb.com/?id.277764 vdb-entrytechnical-descriptionThird Party Advisory
- https://vuldb.com/?submit.409312 third-party-advisoryThird Party Advisory
Change history (0)
No recorded changes yet.