CVE-2024-8947
MicroPython objarray.c use after free
- State
- Published
- Severity
- 6.3 Medium
- Published
- Sep 17, 2024
- Updated
- Sep 17, 2024
- Reserved
- Sep 17, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | 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 | VulDB |
| 3.1 | 5.6 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 3.0 | 5.6 Medium | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 2.0 | 5.1 Medium | AV:N/AC:H/Au:N/C:P/I:P/A:P | VulDB |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
MicroPythonn/a |
|
References
- VDB-277765 | MicroPython objarray.c use after freevdb-entry
- VDB-277765 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #409316 | micropython v1.22.2 Use After Freethird-party-advisory
- https://github.com/micropython/micropython/issues/13283issue-tracking
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709issue-tracking
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cdpatch
- https://github.com/micropython/micropython/releases/tag/v1.23.0patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.