Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. micropython-io
  4. ›
  5. CVE-2024-8947

CVE-2024-8947: Use After Free in MicroPython

September 17, 2024 (updated September 25, 2024)

A vulnerability was found in MicroPython 1.22.2. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file py/objarray.c. The manipulation leads to use after free. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. Upgrading to version 1.23.0 is able to address this issue. The identifier of the patch is 4bed614e707c0644c06e117f848fa12605c711cd. It is recommended to upgrade the affected component. In micropython objarray component, when a bytes object is resized and copied into itself, it may reference memory that has already been freed.

References

  • github.com/advisories/GHSA-pwwp-3q7j-9mx8
  • github.com/micropython/micropython/commit/4bed614e707c0644c06e117f848fa12605c711cd
  • github.com/micropython/micropython/issues/13283
  • github.com/micropython/micropython/issues/13283
  • github.com/micropython/micropython/releases/tag/v1.23.0
  • github.com/pypa/advisory-database/tree/main/vulns/micropython-copy/PYSEC-2024-92.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/micropython-io/PYSEC-2024-94.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-8947
  • vuldb.com/?ctiid.277765
  • vuldb.com/?id.277765
  • vuldb.com/?submit.409316

Code Behaviors & Features

Detect and mitigate CVE-2024-8947 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

pypi/micropython-io/CVE-2024-8947.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.