Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03NHFtLTR2N3ItancyZs4AA_nH

Heap-based Buffer Overflow in MicroPython

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.

Permalink: https://github.com/advisories/GHSA-74qm-4v7r-jw2f
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03NHFtLTR2N3ItancyZs4AA_nH
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 month ago
Updated: 22 days ago


CVSS Score: 7.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Identifiers: GHSA-74qm-4v7r-jw2f, CVE-2024-8946
References: Repository: https://github.com/micropython/micropython
Blast Radius: 6.2

Affected Packages

pypi:micropython-string
Dependent packages: 0
Dependent repositories: 7
Downloads: 44 last month
Affected Version Ranges: <= 0.1
No known fixed version
All affected versions: 0.0.1
pypi:micropython-os-path
Dependent packages: 0
Dependent repositories: 7
Downloads: 164 last month
Affected Version Ranges: <= 0.1.3
No known fixed version
All affected versions:
pypi:micropython-io
Dependent packages: 0
Dependent repositories: 2
Downloads: 84 last month
Affected Version Ranges: <= 0.1
No known fixed version
All affected versions: 0.0.1, 0.0.2, 0.0.3
pypi:micropython-copy
Dependent packages: 0
Dependent repositories: 2
Downloads: 212 last month
Affected Version Ranges: <= 3.3.3.post3
No known fixed version
All affected versions: