MicroPython 1.23.0 VFS Unmount extmod/vfs.c mp_vfs_umount heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in MicroPython 1.23.0 and classified as critical. This vulnerability affects the function mp_vfs_umount of the file extmod/vfs.c of the component VFS Unmount Handler. The manipulation results in heap-based overflow.
This vulnerability is cataloged as CVE-2024-8946. The attack may be launched remotely. Furthermore, there is an exploit available.
It is advisable to implement a patch to correct 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.
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 with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2024-8946. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept. 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. The vulnerability scanner Nessus provides a plugin with the ID 235069 (Ubuntu 20.04 LTS / 22.04 LTS / 24.04 LTS / 24.10 : Micropython vulnerabilities (USN-7472-1)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 29943546343c92334e8518695a11fc0e2ceea68b is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (235069). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.1
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 7.3
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 235069
Nessus Name: Ubuntu 20.04 LTS / 22.04 LTS / 24.04 LTS / 24.10 : Micropython vulnerabilities (USN-7472-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 29943546343c92334e8518695a11fc0e2ceea68b
Timeline
09/17/2024 🔍09/17/2024 🔍
05/02/2025 🔍
Sources
Product: github.comAdvisory: 13006
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2024-8946 (🔍)
GCVE (CVE): GCVE-0-2024-8946
GCVE (VulDB): GCVE-100-277764
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 09/17/2024 14:52Updated: 05/02/2025 06:34
Changes: 09/17/2024 14:52 (61), 09/17/2024 20:54 (1), 09/18/2024 04:46 (18), 09/18/2024 18:08 (1), 09/24/2024 16:01 (11), 05/02/2025 06:34 (2)
Complete: 🔍
Submitter: qbit
Cache ID: 216::103
Submit
Accepted
- Submit #409312: micropython v1.23.0 Heap-based Buffer Overflow (by qbit)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.