Skip to main content
← All vulnerabilities
CVE-2024-8948PYSEC-2024-89GHSA-VH3X-525M-JP4RPYSEC-2024-87PYSEC-2024-88

MicroPython objint.c mpz_as_bytes heap-based overflow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a MicroPython

    1.23.0

  • micropython-osPyPI

    All versions

  • micropython-ioPyPI

    All versions

  • micropython-copyPyPI

    All versions

  • micropython-copyPyPI

    through 3.3.3.post3

  • micropython-ioPyPI

    through 0.1

  • micropython-osPyPI

    through 0.8

References 5

vuldb.com

GitHub · micropython/micropython