Lucene search

K
githubGitHub Advisory DatabaseGHSA-74QM-4V7R-JW2F
HistorySep 17, 2024 - 9:30 p.m.

Heap-based Buffer Overflow in MicroPython

2024-09-1721:30:33
CWE-122
CWE-787
GitHub Advisory Database
github.com
3
micropython
vulnerability
critical
buffer overflow
vfs unmount handler
patch
remote attack
heap-based
public disclosure

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS4

6.9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/SC:N/VI:L/SI:N/VA:L/SA:N

AI Score

7.6

Confidence

High

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.

Affected configurations

Vulners
Node
micropythonmicropython-stringRange0.1
OR
micropythonmicropython-os-pathRange0.1.3
OR
micropythonmicropython-ioRange0.1
OR
micropythonmicropython-copyRange3.3.3.post3
VendorProductVersionCPE
micropythonmicropython-string*cpe:2.3:a:micropython:micropython-string:*:*:*:*:*:*:*:*
micropythonmicropython-os-path*cpe:2.3:a:micropython:micropython-os-path:*:*:*:*:*:*:*:*
micropythonmicropython-io*cpe:2.3:a:micropython:micropython-io:*:*:*:*:*:*:*:*
micropythonmicropython-copy*cpe:2.3:a:micropython:micropython-copy:*:*:*:*:*:*:*:*

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS4

6.9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/SC:N/VI:L/SI:N/VA:L/SA:N

AI Score

7.6

Confidence

High

Related for GHSA-74QM-4V7R-JW2F