CVE-2024-8946

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*

History

24 Sep 2024, 13:11

Type Values Removed Values Added
First Time Micropython
Micropython micropython
References () https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b - () https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b - Patch
References () https://github.com/micropython/micropython/issues/13006 - () https://github.com/micropython/micropython/issues/13006 - Exploit, Issue Tracking
References () https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 - () https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 - Exploit, Third Party Advisory
References () https://vuldb.com/?ctiid.277764 - () https://vuldb.com/?ctiid.277764 - Permissions Required
References () https://vuldb.com/?id.277764 - () https://vuldb.com/?id.277764 - Third Party Advisory
References () https://vuldb.com/?submit.409312 - () https://vuldb.com/?submit.409312 - Third Party Advisory
CWE CWE-787
CPE cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*
CVSS v2 : 7.5
v3 : 7.3
v2 : 7.5
v3 : 7.5

20 Sep 2024, 12:30

Type Values Removed Values Added
Summary
  • (es) Se ha encontrado una vulnerabilidad en MicroPython 1.23.0. Se ha clasificado como crítica. Se ve afectada la función mp_vfs_umount del archivo extmod/vfs.c del componente VFS Unmount Handler. La manipulación provoca un desbordamiento del búfer basado en el montón. Es posible lanzar el ataque de forma remota. El exploit se ha hecho público y se puede utilizar. El nombre del parche es 29943546343c92334e8518695a11fc0e2ceea68b. Se recomienda aplicar un parche para solucionar este problema. En el proceso de desmontaje de VFS, la comparación entre la cadena de ruta montada y la cadena solicitada de desmontaje se basa únicamente en la longitud de la cadena de desmontaje, lo que puede provocar una lectura de desbordamiento del búfer del montón.

17 Sep 2024, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-17 19:15

Updated : 2024-09-24 13:11


NVD link : CVE-2024-8946

Mitre link : CVE-2024-8946

CVE.ORG link : CVE-2024-8946


JSON object : View

Products Affected

micropython

  • micropython
CWE
CWE-787

Out-of-bounds Write

CWE-122

Heap-based Buffer Overflow