CVE-2024-8947

NameCVE-2024-8947
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1082511

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
micropython (PTS)sid, trixie1.22.1+ds-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
micropythonsource(unstable)(unfixed)1082511

Notes

https://github.com/micropython/micropython/issues/13283
https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709
Fixed by: https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd (v1.23.0)

Search for package or bug name: Reporting problems