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 pollsetadd_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.
[
{
"id": "CVE-2023-7152-25f6c61c",
"target": {
"file": "extmod/modselect.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"100514678993952764631001232513906537474",
"184635985177277776058266799635677985380",
"164230940075714143062822397552674040199",
"228660635332080749222774965009048948408",
"28995778423837000612302589737259141075",
"18652610911259546864168799773277061273",
"286860532521091533751639708115663559090",
"224462232164678787202293072350156611568",
"240308530618914926892437594634708463221",
"84432039754077587633886216482598820342",
"268424210313647838700403150769473988174",
"321210418996263357512097437121534983644"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://github.com/jimmo/micropython/commit/8b24aa36ba978eafc6114b6798b47b7bfecdca26",
"signature_type": "Line"
},
{
"id": "CVE-2023-7152-b41c5cce",
"target": {
"function": "poll_set_add_fd",
"file": "extmod/modselect.c"
},
"signature_version": "v1",
"digest": {
"length": 591.0,
"function_hash": "160868559766814285633166252859406262810"
},
"deprecated": false,
"source": "https://github.com/jimmo/micropython/commit/8b24aa36ba978eafc6114b6798b47b7bfecdca26",
"signature_type": "Function"
}
]