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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.119

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2024-8946,CVE-2024-8947,CVE-2024-8948 are affected in Python-micropython-copy 3.3.3.post3Windows
Vulnerabilities CVE-2024-8946,CVE-2024-8947,CVE-2024-8948 are affected in Python-micropython-io 0.1Windows
Vulnerabilities CVE-2024-8946 are affected in Python-micropython-os-path 0.1.3Windows
Vulnerabilities CVE-2024-8946 are affected in Python-micropython-string 0.1Windows
Implementation of Python 3.x on microcontrollers and small embedded systems. (USN-7472-1) micropython_1.22.1+ds-1ubuntu0.24.10.1_amd64.debLinux
Vulnerabilities CVE-2024-8946,CVE-2024-8947,CVE-2024-8948 are affected in Python-micropython-copy for linux 3.3.3.post3Linux
Vulnerabilities CVE-2024-8946,CVE-2024-8947,CVE-2024-8948 are affected in Python-micropython-io for linux 0.1Linux
Vulnerabilities CVE-2024-8946 are affected in Python-micropython-os-path for linux 0.1.3Linux
Vulnerabilities CVE-2024-8946 are affected in Python-micropython-string for linux 0.1Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234