CVE-2024-8947
Use After Free in MicroPython
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | micropython-copy | <= 3.3.3.post3 | nicht erfasst |
| pip | micropython-io | <= 0.1 | nicht erfasst |
Betroffene Produkte · Micropython
| Produkt | Betroffene Versionen |
|---|---|
| Micropython | Version 1.22.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd
- https://github.com/micropython/micropython/issues/13283
- https://github.com/micropython/micropython/issues/13283#issuecomment-1918479709
- https://github.com/micropython/micropython/releases/tag/v1.23.0
- https://vuldb.com/?ctiid.277765
- https://vuldb.com/?id.277765
- https://vuldb.com/?submit.409316
- https://github.com/advisories/GHSA-pwwp-3q7j-9mx8
- https://nvd.nist.gov/vuln/detail/CVE-2024-8947
- 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