CVE-2024-8948 - CVE House
Back to Database
Status published Medium CVE-2024-8948

MicroPython objint.c mpz_as_bytes heap-based overflow

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-8948

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • qbit (VulDB User)

Affected Vendor

Affected Software

MicroPython
Vulnerable Versions:
1.23.0

Timeline

Official Publish: September 17th, 2024
Last Modified: September 17th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Weaknesses (CWE)