Advisory

GHSA-74qm-4v7r-jw2f

Also known as: CVE-2024-8946, PYSEC-2024-91, PYSEC-2024-93, PYSEC-2024-95, PYSEC-2024-96

Summary

Heap-based Buffer Overflow in MicroPython

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-17 21:30 UTC
Modified
2024-09-25 18:42 UTC

Affected packages and fixes

micropython-copy

PyPI · All systems

Affected

  • introduced 0, last affected 3.3.3.post3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

micropython-io

PyPI · All systems

Affected

  • introduced 0, last affected 0.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

micropython-os-path

PyPI · All systems

Affected

  • introduced 0, last affected 0.1.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

micropython-string

PyPI · All systems

Affected

  • introduced 0, last affected 0.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences