Use After Free in Micropython

CVE-2023-7152

A vulnerability, which was classified as critical, has been found in MicroPython 1.21.0/1.22.0-preview. Affected by this issue is the function poll_set_add_fd of the file extmod/modselect.c. The manipulation leads to use after free. The exploit has been disclosed to the public and may be used. The patch is identified as 8b24aa36ba978eafc6114b6798b47b7bfecdca26. It is recommended to apply a patch to fix this issue. VDB-249158 is the identifier assigned to this vulnerability.

Vulnerability class: Use-After-Free

EPSS: 0.009 (55.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • Micropython — versions 1.21.0, 1.22.0
  • N/a Micropython — versions 1.21.0, 1.22.0-preview

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-7152?
CVE-2023-7152 is a medium-severity vulnerability in Micropython, classified under Use After Free. CVSS score: 5.5/10. Published 2023-12-29.
How severe is CVE-2023-7152?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2023-7152 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.