CVE-2024-8947

high

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

https://vuldb.com/?submit.409316

https://vuldb.com/?id.277765

https://vuldb.com/?ctiid.277765

https://github.com/micropython/micropython/releases/tag/v1.23.0

https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709

https://github.com/micropython/micropython/issues/13283

https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd

Details

Source: Mitre, NVD

Published: 2024-09-17

Updated: 2024-09-24

Risk Information

CVSS v2

Base Score: 5.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 6.3

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Severity: Medium