CVE-2024-8948 | MicroPython 1.23.0 py/objint.c mpz_as_bytes heap-based overflow (Issue 13041)
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.
This vulnerability is handled as CVE-2024-8948. The attack may be launched remotely. Furthermore, there is an exploit available.
In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.
It is recommended to apply a patch to fix this issue.