pysec-2024-93
Vulnerability from pysec
Published
2024-09-17 19:15
Modified
2024-09-25 06:23
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.

Aliases



{
  "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"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.