8.1

CVE-2024-8947: MicroPython objarray.c use after free

Analyzed
AliasesGHSA-pwwp-3q7j-9mx8PYSEC-2024-92PYSEC-2024-94
Published 17-09-2024Last modified 17-09-2024

Vulnerability summary

CVE-2024-8947 is a high (CVSS 8.1) Use After Free vulnerability in micropython. EPSS estimates a 1.02% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
1.02%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 17-09-2024
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

11 scores · 5 sources · 4 versions

EPSS trend

Probability

1.02%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 1.03% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Micropython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

PyPI2 products
  • micropython-copy≤ 3.3.3.post3 | < 4bed614e707c0644c06e117f848fa12605c711cd | All versions (No fix recorded)
  • micropython-io≤ 0.1 | < 4bed614e707c0644c06e117f848fa12605c711cd | All versions (No fix recorded)
Debian1 product
  • micropython< 1.24.0+ds-1
Micropython1 product
Opensuse1 product
  • micropython&distro=openSUSE Tumbleweed< 1.28.0-2.1
Ubuntu1 product
  • micropython< 1.12-1ubuntu0.1~esm1 | < 1.17+ds-1.1ubuntu2+esm1 | < 1.22.1+ds-1ubuntu0.24.04.1~esm1

5 vendors · 6 products

References

16 links
Show all 16 references