CVE-2024-8948

EUVD-2024-0101
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.3 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
VulDBCNA
7.3 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 30%
Affected Products (NVD)
VendorProductVersion
micropythonmicropython
1.23.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
micropython
forky
1.26.1+ds-1
fixed
sid
1.26.1+ds-1
fixed
trixie
1.25.0+ds-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
micropython
focal
ignored
jammy
needs-triage
noble
needs-triage
oracular
ignored
plucky
not-affected
questing
not-affected