PYSEC-2024-92
Quick fix
PYSEC-2024-92 — micropython-copy: upgrade to the fixed version with the command below.
pip install --upgrade 'micropython-copy>=4bed614e707c0644c06e117f848fa12605c711cd'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 4bed614e707c0644c06e117f848fa12605c711cdpip install --upgrade 'micropython-copy>=4bed614e707c0644c06e117f848fa12605c711cd'References
- https://vuldb.com/?id.277765[WEB]
- https://vuldb.com/?ctiid.277765[WEB]
- https://vuldb.com/?submit.409316[WEB]
- https://github.com/micropython/micropython/issues/13283[REPORT]
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709[REPORT]
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd[FIX]
- https://github.com/micropython/micropython/releases/tag/v1.23.0[WEB]