p PatchFirst

CVE-2024-8946

CVE-2024-8946 · MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 1.0% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • micropython

    Versions
    • 1.23.0: Affected

    No fix published

  • micropython Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.24.0+ds-1

    Update to 1.24.0+ds-1

  • micropython Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.24.0+ds-1

    Update to 1.24.0+ds-1

  • micropython-copy PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 3.3.3-2
    • 3.3.3.post3
    Affected ranges
    • ECOSYSTEM: ≤ 3.3.3.post3

    No fix published

  • micropython-io PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.1
    Affected ranges
    • ECOSYSTEM: ≤ 0.1

    No fix published

  • micropython-os-path PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.1
    • 0.1.1
    • 0.1.2
    • 0.1.3
    Affected ranges
    • ECOSYSTEM: ≤ 0.1.3

    No fix published

  • micropython-string PyPI

    Versions
    • 0.0.1
    • 0.1
    Affected ranges
    • ECOSYSTEM: ≤ 0.1

    No fix published

  • micropython-copy PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 3.3.3-2
    • 3.3.3.post3
    Affected ranges
    • GIT: < 29943546343c92334e8518695a11fc0e2ceea68b
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython-io PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.1
    Affected ranges
    • GIT: < 29943546343c92334e8518695a11fc0e2ceea68b
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython-os-path PyPI

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.1
    • 0.1.1
    • 0.1.2
    • 0.1.3
    Affected ranges
    • GIT: < 29943546343c92334e8518695a11fc0e2ceea68b
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython-string PyPI

    Versions
    • 0.0.1
    • 0.1
    • v1.24.0-preview
    • v1.23.0
    • v1.22.0
    • v1.23.0-preview
    • v1.22.0-preview
    • v1.21.0
    • v1.20.0
    • v1.19.1
    • v1.19
    • v1.18
    • v1.17
    • v1.16
    • v1.15
    • v1.14
    • v1.13
    • v1.12
    • v1.11
    • v1.10
    • v1.9.4
    • v1.9.3
    • v1.9.2
    • v1.9.1
    • v1.9
    • v1.8.7
    • v1.8.6
    • v1.8.5
    • v1.8.4
    • v1.8.3
    • v1.8.2
    • v1.8.1
    • v1.8
    • v1.7
    • v1.6
    • v1.5.2
    • v1.5.1
    • v1.5
    • v1.4.6
    • v1.4.5
    • v1.4.4
    • v1.4.3
    • v1.4.2
    • v1.4.1
    • v1.4
    • v1.3.10
    • v1.3.9
    • v1.3.8
    • v1.3.7
    • v1.3.6
    • v1.3.5
    • v1.3.4
    • v1.3.3
    • v1.3.2
    • v1.3.1
    • v1.3
    • v1.2
    • v1.1.1
    • v1.1
    • v1.0.1
    • v1.0
    • v1.0-rc1
    Affected ranges
    • GIT: < 29943546343c92334e8518695a11fc0e2ceea68b
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • micropython Ubuntu:Pro:20.04:LTS

    Versions
    • 1.12-1
    Affected ranges
    • ECOSYSTEM: < 1.12-1ubuntu0.1~esm1

    Update to 1.12-1ubuntu0.1~esm1

  • micropython Ubuntu:Pro:22.04:LTS

    Versions
    • 1.17+ds-1ubuntu1
    • 1.17+ds-1.1
    • 1.17+ds-1.1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1.17+ds-1.1ubuntu2+esm1

    Update to 1.17+ds-1.1ubuntu2+esm1

  • micropython Ubuntu:Pro:24.04:LTS

    Versions
    • 1.19.1+ds-1
    • 1.22.1+ds-1
    • 1.22.1+ds-1build1
    • 1.22.1+ds-1build2
    Affected ranges
    • ECOSYSTEM: < 1.22.1+ds-1ubuntu0.24.04.1~esm1

    Update to 1.22.1+ds-1ubuntu0.24.04.1~esm1

Original sources

Check your server →