7.5
HIGH CVSS 3.1
CVE-2024-8946
MicroPython VFS Unmount Handler Heap Buffer Overflow
Description

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.

INFO

Published Date :

Sept. 17, 2024, 7:15 p.m.

Last Modified :

Sept. 24, 2024, 1:11 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-8946 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Micropython micropython
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
A heap buffer overflow vulnerability exists in MicroPython, and it is recommended to update the package to resolve this issue.
  • Update the MicroPython package.
  • Apply the patch to fix this issue.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-8946.

URL Resource
https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b Patch
https://github.com/micropython/micropython/issues/13006 Exploit Issue Tracking
https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 Exploit Third Party Advisory
https://vuldb.com/?ctiid.277764 Permissions Required
https://vuldb.com/?id.277764 Third Party Advisory
https://vuldb.com/?submit.409312 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-8946 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-8946 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-8946 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-8946 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 24, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b No Types Assigned https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b Patch
    Changed Reference Type https://github.com/micropython/micropython/issues/13006 No Types Assigned https://github.com/micropython/micropython/issues/13006 Exploit, Issue Tracking
    Changed Reference Type https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 No Types Assigned https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 Exploit, Third Party Advisory
    Changed Reference Type https://vuldb.com/?ctiid.277764 No Types Assigned https://vuldb.com/?ctiid.277764 Permissions Required
    Changed Reference Type https://vuldb.com/?id.277764 No Types Assigned https://vuldb.com/?id.277764 Third Party Advisory
    Changed Reference Type https://vuldb.com/?submit.409312 No Types Assigned https://vuldb.com/?submit.409312 Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*
  • CVE Received by [email protected]

    Sep. 17, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference VulDB https://vuldb.com/?id.277764 [No types assigned]
    Added Reference VulDB https://vuldb.com/?ctiid.277764 [No types assigned]
    Added Reference VulDB https://vuldb.com/?submit.409312 [No types assigned]
    Added Reference VulDB https://github.com/micropython/micropython/issues/13006 [No types assigned]
    Added Reference VulDB https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455 [No types assigned]
    Added Reference VulDB https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b [No types assigned]
    Added CWE VulDB CWE-122
    Added CVSS V2 VulDB (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 VulDB AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    Added CVSS V4.0 VulDB CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.9
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact