GHSA-74qm-4v7r-jw2f

Suggest an improvement
Source
https://github.com/advisories/GHSA-74qm-4v7r-jw2f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-74qm-4v7r-jw2f/GHSA-74qm-4v7r-jw2f.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-74qm-4v7r-jw2f
Aliases
Published
2024-09-17T21:30:33Z
Modified
2024-09-25T19:12:23.498881Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
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 mpvfsumount 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.

Database specific
{
    "nvd_published_at": "2024-09-17T19:15:29Z",
    "cwe_ids": [
        "CWE-122",
        "CWE-787"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-25T18:23:41Z"
}
References

Affected packages

PyPI / micropython-copy

Package

Name
micropython-copy
View open source insights on deps.dev
Purl
pkg:pypi/micropython-copy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.3.3.post3

Affected versions

0.*

0.0.1
0.0.2

3.*

3.3.3-2
3.3.3.post3

PyPI / micropython-io

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.1

PyPI / micropython-os-path

Package

Name
micropython-os-path
View open source insights on deps.dev
Purl
pkg:pypi/micropython-os-path

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1.3

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.1
0.1.1
0.1.2
0.1.3

PyPI / micropython-string

Package

Name
micropython-string
View open source insights on deps.dev
Purl
pkg:pypi/micropython-string

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1

Affected versions

0.*

0.0.1
0.1