PYSEC-2024-89

Vulnerability from pysec - Published: 2024-09-17 19:15 - Updated: 2024-09-23 21:22
VLAI?
Details

A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. It is recommended to apply a patch to fix this issue. In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.

Impacted products
Name purl
micropython-os pkg:pypi/micropython-os
Aliases

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "micropython-os",
        "purl": "pkg:pypi/micropython-os"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "908ab1ceca15ee6fd0ef82ca4cba770a3ec41894"
            }
          ],
          "repo": "https://github.com/micropython/micropython",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.2.3",
        "0.2.4",
        "0.3",
        "0.3.1",
        "0.4.1",
        "0.4.2",
        "0.4.3",
        "0.4.4",
        "0.6",
        "0.7",
        "0.7.1",
        "0.8"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-8948"
  ],
  "details": "A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. It is recommended to apply a patch to fix this issue. In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.",
  "id": "PYSEC-2024-89",
  "modified": "2024-09-23T21:22:09.689786+00:00",
  "published": "2024-09-17T19:15:00+00:00",
  "references": [
    {
      "type": "WEB",
      "url": "https://vuldb.com/?id.277766"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?ctiid.277766"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/?submit.409317"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/micropython/micropython/issues/13041"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/micropython/micropython/issues/13041"
    },
    {
      "type": "FIX",
      "url": "https://github.com/micropython/micropython/commit/908ab1ceca15ee6fd0ef82ca4cba770a3ec41894"
    }
  ],
  "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…

Sightings

Author Source Type Date

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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…