Skip to main content
← All vulnerabilities
CVE-2024-8946PYSEC-2024-96GHSA-74QM-4V7R-JW2FPYSEC-2024-91PYSEC-2024-93PYSEC-2024-95

MicroPython VFS Unmount vfs.c mp_vfs_umount 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 classified as critical. Affected is the function mp_vfs_umount of the file extmod/vfs.c of the component VFS Unmount Handler. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 29943546343c92334e8518695a11fc0e2ceea68b. It is recommended to apply a patch to fix this issue. In the VFS unmount process, the comparison between the mounted path string and the unmount requested string is based solely on the length of the unmount string, which can lead to a heap buffer overflow read.

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-stringPyPI

    All versions

  • micropython-copyPyPI

    through 3.3.3.post3

  • micropython-ioPyPI

    through 0.1

  • micropython-os-pathPyPI

    through 0.1.3

  • micropython-stringPyPI

    through 0.1

  • micropython-os-pathPyPI

    All versions

  • micropython-ioPyPI

    All versions

  • micropython-copyPyPI

    All versions

References 6

vuldb.com

GitHub · micropython/micropython