{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-8946",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            },
            {
                "lang": "deu",
                "value": "Es wurde eine kritische Schwachstelle in MicroPython 1.23.0 ausgemacht. Betroffen hiervon ist die Funktion mp_vfs_umount der Datei extmod/vfs.c der Komponente VFS Unmount Handler. Durch die Manipulation mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Umgesetzt werden kann der Angriff \u00fcber das Netzwerk. Der Exploit steht zur \u00f6ffentlichen Verf\u00fcgung. Der Patch wird als 29943546343c92334e8518695a11fc0e2ceea68b bezeichnet. Als bestm\u00f6gliche Massnahme wird Patching empfohlen."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Heap-based Buffer Overflow",
                        "cweId": "CWE-122"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "MicroPython",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.23.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://vuldb.com/?id.277764",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.277764"
            },
            {
                "url": "https://vuldb.com/?ctiid.277764",
                "refsource": "MISC",
                "name": "https://vuldb.com/?ctiid.277764"
            },
            {
                "url": "https://vuldb.com/?submit.409312",
                "refsource": "MISC",
                "name": "https://vuldb.com/?submit.409312"
            },
            {
                "url": "https://github.com/micropython/micropython/issues/13006",
                "refsource": "MISC",
                "name": "https://github.com/micropython/micropython/issues/13006"
            },
            {
                "url": "https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455",
                "refsource": "MISC",
                "name": "https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455"
            },
            {
                "url": "https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b",
                "refsource": "MISC",
                "name": "https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "qbit (VulDB User)"
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "baseScore": 7.3,
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
                "baseSeverity": "HIGH"
            },
            {
                "version": "3.0",
                "baseScore": 7.3,
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
                "baseSeverity": "HIGH"
            },
            {
                "version": "2.0",
                "baseScore": 7.5,
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
            }
        ]
    }
}