title: MicroPython modselect.c poll_set_add_fd use after free
description: 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.
problem types: CWE-416 Use After Free
affected:
{
vendor: n/a
product: MicroPython
versions:
version: 1.21.0, status: affected
version: 1.22.0-preview, status: affected
}
metrics:
cvssV3_1: [
version: 3.1
baseScore: 5.5
vectorString: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
baseSeverity: MEDIUM
]