cve.bz

CVE-2024-8946

6.9 mediumEPSS 1.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.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.0% chance of exploitation in the next 30 days; higher than 63% of CVEs (scores of 2026-10-31)
CWEs
CWE-787, CWE-122
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-74qm-4v7r-jw2fPyPImicropython-copy<=3.3.3.post3no fix published
GHSA-74qm-4v7r-jw2fPyPImicropython-io<=0.1no fix published
GHSA-74qm-4v7r-jw2fPyPImicropython-os-path<=0.1.3no fix published
GHSA-74qm-4v7r-jw2fPyPImicropython-string<=0.1no fix published
PYSEC-2024-91PyPImicropython-copyall versionsno fix published
PYSEC-2024-93PyPImicropython-ioall versionsno fix published
PYSEC-2024-95PyPImicropython-os-pathall versionsno fix published
PYSEC-2024-96PyPImicropython-stringall versionsno fix published

References

Check your stackJSON