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 a
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | micropython-copy | all versions | no fix |
| Python (PyPI) | micropython-io | all versions | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8947
- https://github.com/micropython/micropython/issues/13283
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd
- https://github.com/micropython/micropython/releases/tag/v1.23.0
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml
- https://vuldb.com/?ctiid.277765
- https://vuldb.com/?id.277765
- https://vuldb.com/?submit.409316
- https://github.com/advisories/GHSA-pwwp-3q7j-9mx8
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-416- Platform
- Python (PyPI)
- Package
micropython-copy, micropython-io- Disclosed
- 17.09.2024
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2024-92 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-pwwp-3q7j-9mx8 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-94 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: micropython-copy
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 12.2023 09.2024
- Without a fix
- 4
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
Disclosures per year
- 2023: 1
- 2024: 3
- 2025: 0
- 2026: 0
-
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 a this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.