Paper/Archive/CVE-2023-7158

CVE-2023-7158

VulDB — MicroPython objslice.c slice_indices heap-based overflow

Description · from the CVE record

A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.

Affected

ProductAffectedFixed inSource
MicroPython1.13.0–CNA
MicroPython1.14.0–CNA
MicroPython1.15.0–CNA
MicroPython1.16.0–CNA
MicroPython1.17.0–CNA
MicroPython1.18.0–CNA
MicroPython1.19.0–CNA
MicroPython1.20.0–CNA
MicroPython1.21.0–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulDB (CNA)7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
VulDB (CNA)7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

References

writeupvuldb.com/?id.249180refvuldb.com/?ctiid.249180exploitgithub.com/micropython/micropython/issues/13007refgithub.com/micropython/micropython/pull/13039patchgithub.com/micropython/micropython/pull/13039/commits/f397a3ec318f3ad05aa287764ae7cef32202380fpatchgithub.com/micropython/micropython/releases/tag/v1.22.0reflists.fedoraproject.org/archives/list/[email protected]/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCKreflists.fedoraproject.org/archives/list/[email protected]/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZreflists.fedoraproject.org/archives/list/[email protected]/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7