| 제목 | 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) |
|---|
| 제출 | 2023. 12. 28. AM 08:44 (2 연령 ago) |
|---|
| 모더레이션 | 2023. 12. 28. AM 11:30 (3 hours later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 249158 [MicroPython 1.21.0/1.22.0-preview extmod/modselect.c poll_set_add_fd 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|