CVE-2023-7152: PYSEC-2023-258 - A vulnerability, which was classified as critical, has been found in MicroPython…

CVE-2023-7152 · Severity: low · CVSS 3.1 · Published 2023-12-29

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.

Technologies: micropython-copy (PyPI), micropython-io (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2023-7152 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-7152 being exploited in the wild.
How severe is CVE-2023-7152?
Low severity, with a CVSS score of 3.1, published 29 December 2023.
Which products and versions are affected?
micropython-copy (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0; micropython-io (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0; micropython-os (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0; micropython-select (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0.
Is there a fix for CVE-2023-7152?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2023-7152?
Check whether you run micropython-copy (PyPI), micropython-io (PyPI), micropython-os (PyPI) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • micropython-copy (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0
  • micropython-io (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0
  • micropython-os (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0
  • micropython-select (PyPI) GIT:introduced=0,fixed=8b24aa36ba978eafc6114b6798b47b7bfecdca26|ECOSYSTEM:introduced=0

Identifiers

  • CVE-2023-7152
  • PYSEC-2023-256
  • PYSEC-2023-257
  • PYSEC-2023-258
  • PYSEC-2023-259

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.