What’s Vulnerable › Vulnerabilities

CVE-2023-7158: MicroPython objslice.c slice_indices heap-based overflow

Description

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 products

How to fix

Upgrade to a fixed version: MicroPython 1.22.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-7158 or the next vulnerability affects your stack