CVE-2024-8947
MicroPython MicroObjArray Use After Free (Critical)
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.
INFO
Published Date :
Sept. 17, 2024, 7:15 p.m.
Last Modified :
Sept. 24, 2024, 1:17 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-8947
.
URL | Resource |
---|---|
https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd | Patch |
https://github.com/micropython/micropython/issues/13283 | Exploit Third Party Advisory |
https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 | Exploit Third Party Advisory |
https://github.com/micropython/micropython/releases/tag/v1.23.0 | Release Notes |
https://vuldb.com/?ctiid.277765 | Permissions Required |
https://vuldb.com/?id.277765 | Third Party Advisory |
https://vuldb.com/?submit.409316 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-8947
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-8947
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 24, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd No Types Assigned https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd Patch Changed Reference Type https://github.com/micropython/micropython/issues/13283 No Types Assigned https://github.com/micropython/micropython/issues/13283 Exploit, Third Party Advisory Changed Reference Type https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 No Types Assigned https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 Exploit, Third Party Advisory Changed Reference Type https://github.com/micropython/micropython/releases/tag/v1.23.0 No Types Assigned https://github.com/micropython/micropython/releases/tag/v1.23.0 Release Notes Changed Reference Type https://vuldb.com/?ctiid.277765 No Types Assigned https://vuldb.com/?ctiid.277765 Permissions Required Changed Reference Type https://vuldb.com/?id.277765 No Types Assigned https://vuldb.com/?id.277765 Third Party Advisory Changed Reference Type https://vuldb.com/?submit.409316 No Types Assigned https://vuldb.com/?submit.409316 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:micropython:micropython:1.22.2:*:*:*:*:*:*:* -
CVE Received by [email protected]
Sep. 17, 2024
Action Type Old Value New Value Added 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. Added Reference VulDB https://vuldb.com/?id.277765 [No types assigned] Added Reference VulDB https://vuldb.com/?ctiid.277765 [No types assigned] Added Reference VulDB https://vuldb.com/?submit.409316 [No types assigned] Added Reference VulDB https://github.com/micropython/micropython/issues/13283 [No types assigned] Added Reference VulDB https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 [No types assigned] Added Reference VulDB https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd [No types assigned] Added Reference VulDB https://github.com/micropython/micropython/releases/tag/v1.23.0 [No types assigned] Added CWE VulDB CWE-416 Added CVSS V2 VulDB (AV:N/AC:H/Au:N/C:P/I:P/A:P) Added CVSS V3.1 VulDB AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L Added CVSS V4.0 VulDB 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-8947
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-8947
weaknesses.