Bug 2256175 (CVE-2023-7158) - CVE-2023-7158 MicroPython: heap-based buffer overflow
Summary: CVE-2023-7158 MicroPython: heap-based buffer overflow
Keywords:
Status: NEW
Alias: CVE-2023-7158
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2256176
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-29 10:44 UTC by Avinash Hanwate
Modified: 2024-04-04 00:55 UTC (History)
0 users

Fixed In Version: MicroPython 1.22.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2023-12-29 10:44:15 UTC
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.

https://github.com/micropython/micropython/issues/13007
https://github.com/micropython/micropython/pull/13039
https://github.com/micropython/micropython/pull/13039/commits/f397a3ec318f3ad05aa287764ae7cef32202380f
https://github.com/micropython/micropython/releases/tag/v1.22.0
https://vuldb.com/?ctiid.249180
https://vuldb.com/?id.249180

Comment 1 Avinash Hanwate 2023-12-29 10:44:40 UTC
Created micropython tracking bugs for this issue:

Affects: fedora-all [bug 2256176]

Comment 2 Fedora Update System 2024-04-04 00:45:48 UTC
FEDORA-2024-34aa24af35 (micropython-1.22.2-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2024-04-04 00:55:13 UTC
FEDORA-2024-51e55a7065 (micropython-1.22.2-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.