CVE-2024-8948

HIGH

Micropython - Out-of-Bounds Write

Title source: rule
STIX 2.1

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.

References (5)

Core 5
Core References
Third Party Advisory vdb-entry technical-description
https://vuldb.com/?id.277766
Permissions Required signature permissions-required
https://vuldb.com/?ctiid.277766
Third Party Advisory third-party-advisory
https://vuldb.com/?submit.409317
Exploit, Issue Tracking, Third Party Advisory exploit issue-tracking
https://github.com/micropython/micropython/issues/13041

Scores

CVSS v3 7.3
EPSS 0.0009
EPSS Percentile 25.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-122 CWE-787
Status published
Products (4)
micropython/micropython 1.23.0
pypi/micropython-copy 0PyPI
pypi/micropython-io 0PyPI
pypi/micropython-os 0PyPI
Published Sep 17, 2024
Tracked Since Feb 18, 2026