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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | micropython-copy | todas las versiones | sin corrección |
| Python (PyPI) | micropython-io | todas las versiones | sin corrección |
| Python (PyPI) | micropython-os | todas las versiones | sin corrección |
Referencias
- 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
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Debilidad (CWE)
CWE-122, CWE-787- Plataforma
- Python (PyPI)
- Paquete
micropython-copy, micropython-io, micropython-os- Publicada
- 17.09.2024
- Actualizado
- 11.10.2026 12:20
Fuentes y licencias
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
Historial de vulnerabilidades: micropython-copy
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 4
- Primera → última
- 12.2023 09.2024
- Sin corrección
- 4
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 1
- Alta 3
Divulgaciones por año
- 2023: 1
- 2024: 3
- 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 esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.