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.
This vulnerability is handled as CVE-2023-7152. The attack needs to be approached within the local network. Furthermore, there is an exploit available.
It is recommended to apply a patch to fix this issue.