{"id":"CVE-2023-7152","published":"2023-12-29T04:31:04Z","modified":"2025-02-13T17:27:04Z","title":"MicroPython modselect.c poll_set_add_fd use after free","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00892,"percentile":0.60303,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://vuldb.com/?id.249158","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.249158","tags":["signature","permissions-required"]},{"url":"https://github.com/micropython/micropython/issues/12887","tags":["exploit","issue-tracking"]},{"url":"https://github.com/jimmo/micropython/commit/8b24aa36ba978eafc6114b6798b47b7bfecdca26","tags":["patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCK/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZ/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7/","tags":[]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":12.06},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"affectedVersions":[{"vendor":"n/a","product":"MicroPython","versions":["1.21.0","1.22.0-preview"]}],"affected":[{"ecosystem":"PyPI","package":"micropython-copy","vulnerableRanges":["all versions"],"patched":[],"from":["PYSEC-2023-256"],"provenance":"source"},{"ecosystem":"PyPI","package":"micropython-io","vulnerableRanges":["all versions"],"patched":[],"from":["PYSEC-2023-257"],"provenance":"source"},{"ecosystem":"PyPI","package":"micropython-os","vulnerableRanges":["all versions"],"patched":[],"from":["PYSEC-2023-258"],"provenance":"source"},{"ecosystem":"PyPI","package":"micropython-select","vulnerableRanges":["all versions"],"patched":[],"from":["PYSEC-2023-259"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0145","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/micropython/micropython/issues/12887"]}