CVE-2024-8947
MEDIUM 6.3CVSS 4.0Use After Free in MicroPython
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.
- Published
- 17 Sep 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-416
- Also known as
- GHSA-pwwp-3q7j-9mx8PYSEC-2024-92PYSEC-2024-94
- Sources
- NVDJSONOSV GHSA-pwwp-3q7j-9mx8JSONOSV PYSEC-2024-92JSONOSV PYSEC-2024-94JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | micropython | micropythoncpe:2.3:a:micropython:micropython:1.22.2:*:*:*:*:*:*:* |
= 1.22.2 | |
| OSV | PyPI | micropython-copy | <= 3.3.3.post3 | |
| OSV | PyPI | micropython-io | <= 0.1 | |
| OSV | PyPI | micropython-copy | all versions | |
| OSV | PyPI | micropython-io | all versions |
References
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd · Patch, WEB, FIX
- https://github.com/micropython/micropython/issues/13283 · Exploit, Third Party Advisory, WEB, REPORT, EVIDENCE
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709 · Exploit, Third Party Advisory, WEB, REPORT, EVIDENCE
- https://github.com/micropython/micropython/releases/tag/v1.23.0 · Release Notes, WEB
- https://vuldb.com/?ctiid.277765 · Permissions Required, WEB
- https://vuldb.com/?id.277765 · Third Party Advisory, WEB
- https://vuldb.com/?submit.409316 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-8947 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml · WEB
- https://github.com/advisories/GHSA-pwwp-3q7j-9mx8 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 17 Sep 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)