Use After Free in Micropython
CVE-2024-8947
- CVSS v3
- 5.6 Medium
- Public exploits
- None known
- EPSS
- 0.010 · 64.3th percentile
- Published
- 2024-09-17
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
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.010, 64.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Micropython — versions 1.22.2
- Micropython — versions 1.22.2
Weakness classification (CWE)
References
- VDB-277765 | MicroPython objarray.c use after free (Third Party Advisory, vdb-entry)
- VDB-277765 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required)
- Submit #409316 | micropython v1.22.2 Use After Free (Third Party Advisory, third-party-advisory)
- github.com/micropython/micropython/issues/13283 (issue-tracking, Exploit, Third Party Advisory)
- github.com/micropython/micropython/issues/13283 (issue-tracking, Exploit, Third Party Advisory)
- github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c71… (Patch, patch)
- github.com/micropython/micropython/releases/tag/v1.23.0 (Release Notes, patch)