CVE-2024-8948

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.

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

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-8948 are affected in Python-micropython-os 0.8Windows
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-8948 are affected in Python-micropython-os for linux 0.8Linux

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