CVE-2024-8947

MEDIUM

Micropython - Use After Free

Title source: rule
STIX 2.1

Description

A vulnerability was found in MicroPython 1.22.2. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file py/objarray.c. The manipulation leads to use after free. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. Upgrading to version 1.23.0 is able to address this issue. The identifier of the patch is 4bed614e707c0644c06e117f848fa12605c711cd. It is recommended to upgrade the affected component. In micropython objarray component, when a bytes object is resized and copied into itself, it may reference memory that has already been freed.

References (7)

Core 7
Core References
Third Party Advisory vdb-entry
https://vuldb.com/?id.277765
Permissions Required signature permissions-required
https://vuldb.com/?ctiid.277765
Third Party Advisory third-party-advisory
https://vuldb.com/?submit.409316
Exploit, Third Party Advisory issue-tracking
https://github.com/micropython/micropython/issues/13283

Scores

CVSS v3 5.6
EPSS 0.0019
EPSS Percentile 40.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/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-416
Status published
Products (3)
micropython/micropython 1.22.2
pypi/micropython-copy 0PyPI
pypi/micropython-io 0PyPI
Published Sep 17, 2024
Tracked Since Feb 18, 2026