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

Wed, 18 Sep 2024 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Micropython
Micropython micropython
CPEs cpe:2.3:a:micropython:micropython:*:*:*:*:*:*:*:*
Vendors & Products Micropython
Micropython micropython
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 17 Sep 2024 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title MicroPython objint.c mpz_as_bytes heap-based overflow
Weaknesses CWE-122
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published: 2024-09-17T18:50:17.599Z

Updated: 2024-09-17T20:07:19.189Z

Reserved: 2024-09-17T12:47:17.459Z

Link: CVE-2024-8948

cve-icon Vulnrichment

Updated: 2024-09-17T20:07:14.945Z

cve-icon NVD

Status : Received

Published: 2024-09-17T19:15:29.747

Modified: 2024-09-17T19:15:29.747

Link: CVE-2024-8948

cve-icon Redhat

No data.