VDB

CVE-2024-8947

CVE-2024-8947 PUBLISHED CVSS 6.3 MEDIUM

MicroPython objarray.c use after free

Reported by vuldb · Published September 17, 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.

Risk scores

CVSS 4.0
6.3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
n/aMicroPython1.22.2
micropythonmicropython1.22.2
n/aMicroPython1.22.2
PyPImicropython-copy0
PyPImicropython-io0

Timeline

  • Sep 17, 2024 CVE Published
  • Sep 17, 2024 CVE Updated
  • Sep 17, 2024 PoC Published (2 in total, the first dated here)
  • Sep 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Mar 9, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-8947
vulnetix vdb fixes CVE-2024-8947

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8947/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›