CVE-2024-8948

A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. It is recommended to apply a patch to fix this issue. In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.
Configurations

Configuration 1 (hide)

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

History

23 Sep 2024, 18:10

Type Values Removed Values Added
References () https://github.com/micropython/micropython/commit/908ab1ceca15ee6fd0ef82ca4cba770a3ec41894 - () https://github.com/micropython/micropython/commit/908ab1ceca15ee6fd0ef82ca4cba770a3ec41894 - Patch
References () https://github.com/micropython/micropython/issues/13041 - () https://github.com/micropython/micropython/issues/13041 - Exploit, Issue Tracking, Third Party Advisory
References () https://vuldb.com/?ctiid.277766 - () https://vuldb.com/?ctiid.277766 - Permissions Required
References () https://vuldb.com/?id.277766 - () https://vuldb.com/?id.277766 - Third Party Advisory
References () https://vuldb.com/?submit.409317 - () https://vuldb.com/?submit.409317 - Third Party Advisory
CVSS v2 : 7.5
v3 : 7.3
v2 : 7.5
v3 : 7.5
CPE cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*
CWE CWE-787
First Time Micropython
Micropython micropython

20 Sep 2024, 12:30

Type Values Removed Values Added
Summary
  • (es) Se encontró una vulnerabilidad en MicroPython 1.23.0. Se ha calificado como crítica. Este problema afecta a la función mpz_as_bytes del archivo py/objint.c. La manipulación provoca un desbordamiento del búfer en el montón. El ataque puede iniciarse de forma remota. El exploit se ha hecho público y puede utilizarse. El parche se identifica como 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. Se recomienda aplicar un parche para solucionar este problema. En el componente objint de micropython, la conversión de cero de int a bytes provoca un desbordamiento del búfer en el montón en mpz_as_bytes.

17 Sep 2024, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-17 19:15

Updated : 2024-09-23 18:10


NVD link : CVE-2024-8948

Mitre link : CVE-2024-8948

CVE.ORG link : CVE-2024-8948


JSON object : View

Products Affected

micropython

  • micropython
CWE
CWE-787

Out-of-bounds Write

CWE-122

Heap-based Buffer Overflow