8.1

CVE-2024-8947: micropython Use After Free

CVSS: 8.1v3.1HighAnalyzed
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.03% chance of exploitation in the next 30 days, higher than 63.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
1.03%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.03%

Chance of exploitation in the next 30 days

Percentile

63%

Versus all other CVEs

30-day change

0.00 pp

From 1.03% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.03%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Micropython

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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