Logo
componentmicropython
Name
micropython
Version
1.22.2
Type
library
Description
-
Licenses
MITBSD-1-ClauseBSD-3-ClauseZlib
PURL
-
CPE
cpe:2.3:a:micropython:micropython:1.22.2:-:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
1.28.0

Patches#


#
Title
Author
Resolve
1
py/nlrthumb: Make non-Thumb2 long-jump workaround opt-in.
=?UTF-8?q?J=2E=20Neusch=C3=A4fer?= <j.ne@posteo.net>
2
py/emitinlinextensa: Simplify register name lookup.
Alessandro Gatti <a.gatti@frob.it>
3
extmod/moductypes: Refactor string literal as array
Angus Gratton <angus@redyak.com.au>
4
py/objarray: Fix use-after-free if extending a bytearray from
Angus Gratton <angus@redyak.com.au>
CVE-2024-8947

Vulnerabilities#


Name
Analysis
Description
Exploitable
A flaw has been found in micropython up to 1.27.0. This vulnerability affects the function mp_import_all of the file py/runtime.c. This manipulation causes memory corruption. The attack needs to be launched locally. The exploit has been published and may be used. Patch name: 570744d06c5ba9dba59b4c3f432ca4f0abd396b6. It is suggested to install a patch to address this issue.
Patched
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.