MicroPython modselect.c poll_set_add_fd use after free
MicroPython
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| micropython-copy PyPI |
| No fix yet |
| micropython-io PyPI |
| No fix yet |
| micropython-os PyPI |
| No fix yet |
MicroPython
| Product | Affected | Fixed in |
|---|---|---|
| micropython-copy PyPI |
| No fix yet |
| micropython-io PyPI |
| No fix yet |
| micropython-os PyPI |
| No fix yet |
| micropython-select PyPI |
|
| No fix yet |
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.
From the CVE record · VulDB
MicroPython 1.21.0 and 1.22.0-preview have a use-after-free vulnerability in poll_set_add_fd in extmod/modselect.c. A public exploit has been disclosed, but the input does not specify what an attacker can achieve or whether exploitation requires network access, authentication, or user interaction.
Engineers running MicroPython 1.21.0 or 1.22.0-preview, or using any version of the PyPI packages micropython-copy, micropython-io, micropython-os, or micropython-select, should check their exposure.