إرسال #259231: micropython micropython v1.21.0 to v1.22.0-preview use after freeالمعلومات

عنوانmicropython micropython v1.21.0 to v1.22.0-preview use after free
الوصفThe problem is from allocating fd for a poll object (poll_obj_t), at poll_set_add_fd because it frees previously allocated fds at m_renew. It reallocates the whole array poll_set->pollfds by m_renew. it causes all accesses to objects after m_renew as use-after-free, and we observed some fd is overlapped with a poll object; it will lead to unintended behavior and chunk-overlapping, which can be used as a vulnerability by attackers in a way they try to malformed an object or fd by using each other.
المصدر⚠️ https://github.com/micropython/micropython/issues/12887
المستخدم
 qbit (UID 60633)
ارسال28/12/2023 08:44 AM (2 سنوات منذ)
الاعتدال28/12/2023 11:30 AM (3 hours later)
الحالةتمت الموافقة
إدخال VulDB249158 [MicroPython 1.21.0/1.22.0-preview extmod/modselect.c poll_set_add_fd تلف الذاكرة]
النقاط20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!