PYSEC-2024-93
Vulnerability from pysec - Published: 2024-09-17 19:15 - Updated: 2024-09-25 06:23A 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.
| Name | purl | micropython-io | pkg:pypi/micropython-io |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "micropython-io",
"purl": "pkg:pypi/micropython-io"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "29943546343c92334e8518695a11fc0e2ceea68b"
}
],
"repo": "https://github.com/micropython/micropython",
"type": "GIT"
},
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0.1",
"0.0.2",
"0.0.3",
"0.1"
]
}
],
"aliases": [
"CVE-2024-8946"
],
"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 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.",
"id": "PYSEC-2024-93",
"modified": "2024-09-25T06:23:55.864558+00:00",
"published": "2024-09-17T19:15:00+00:00",
"references": [
{
"type": "WEB",
"url": "https://vuldb.com/?id.277764"
},
{
"type": "WEB",
"url": "https://vuldb.com/?ctiid.277764"
},
{
"type": "WEB",
"url": "https://vuldb.com/?submit.409312"
},
{
"type": "EVIDENCE",
"url": "https://github.com/micropython/micropython/issues/13006"
},
{
"type": "REPORT",
"url": "https://github.com/micropython/micropython/issues/13006"
},
{
"type": "EVIDENCE",
"url": "https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455"
},
{
"type": "REPORT",
"url": "https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455"
},
{
"type": "FIX",
"url": "https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.