A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer
A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. It is recommended to apply a patch to fix this issue. In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | micropython-copy | alle Versionen | keine Korrektur |
| Python (PyPI) | micropython-io | alle Versionen | keine Korrektur |
| Python (PyPI) | micropython-os | alle Versionen | keine Korrektur |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2024-8948
- https://github.com/micropython/micropython/issues/13041
- https://github.com/micropython/micropython/commit/908ab1ceca15ee6fd0ef82ca4cba770a3ec41894
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-87.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-88.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/micropython-os/PYSEC-2024-89.yaml
- https://vuldb.com/?ctiid.277766
- https://vuldb.com/?id.277766
- https://vuldb.com/?submit.409317
- https://github.com/advisories/GHSA-vh3x-525m-jp4r
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Schwäche (CWE)
CWE-122, CWE-787- Plattform
- Python (PyPI)
- Paket
micropython-copy, micropython-io, micropython-os- Veröffentlicht
- 17.09.2024
- Aktualisiert
- 11.10.2026 12:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2024-87 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-88 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-vh3x-525m-jp4r - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2024-89 - PyPA Advisory Database; CC BY 4.0
Schwachstellenhistorie: micropython-os
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 2
- Erste → letzte
- 12.2023 09.2024
- Ohne Fix
- 2
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 1
- Hoch 1
Veröffentlichungen pro Jahr
- 2023: 1
- 2024: 1
- 2025: 0
- 2026: 0
-
A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.