Use After Free in Micropython
CVE-2024-8947
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.
Vulnerability class: Use-After-Free
EPSS: 0.010 (60.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Micropython — versions 1.22.2
- N/a Micropython — versions 1.22.2
Weakness classification (CWE)
References
- cna@vuldb.com (Third Party Advisory, vdb-entry)
- cna@vuldb.com (signature, Permissions Required, permissions-required)
- cna@vuldb.com (Third Party Advisory, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, Third Party Advisory)
- cna@vuldb.com (issue-tracking, Exploit, Third Party Advisory)
- cna@vuldb.com (Patch, patch)
- cna@vuldb.com (Release Notes, patch)
Frequently asked questions
- What is CVE-2024-8947?
- CVE-2024-8947 is a medium-severity vulnerability in Micropython, classified under Use After Free. CVSS score: 5.6/10. Published 2024-09-17.
- How severe is CVE-2024-8947?
- Medium severity. CVSS v3 base score is 5.6 out of 10.