개요
이 취약점이 무엇인지
`Element.findall()` and fully-consumed `Element.iterfind()` exhibit `O(n^2)` time complexity when using XPath index predicates (e.g. `[1]`, `[last()]`, `[last()-N]`) on XML documents with many same-tag siblings. `Element.find()` is only affected when the first match is near the end of the sibling list, such as with `[last()]` or `[last()-N]`; `.//item[1]` short-circuits after the first match.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| CPythonPython Software Foundation | 최초 버전 | ≤ | 취약 | < | 3.10.21 | 3.10.21이상 |
| 3.11.0 | ≤ | 취약 | < | 3.11.16 | 3.11.16이상 | |
| 3.12.0 | ≤ | 취약 | < | 3.12.14 | 3.12.14이상 | |
| 3.13.0 | ≤ | 취약 | < | 3.13.15 | 3.13.15이상 | |
| 3.14.0 | ≤ | 취약 | < | 3.14.7 | 3.14.7이상 | |
| 3.15.0a1 | ≤ | 취약 | < | 3.15.0rc1 | 3.15.0rc1이상 | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타10
- github.com/python/cpython/commit/02c08e6b747ac43d0d866a4ffa916bedf3423f81
- github.com/python/cpython/commit/037965c00a427cba5c05447efadc67c51a492e85
- github.com/python/cpython/commit/0583f24ae678993e3f7939f51ad5bcae5ad9dc70
- github.com/python/cpython/commit/2ffab083782968a4d732738f4f1dff6bbd69d2b0
- github.com/python/cpython/commit/390337b8ba1658833fdef379e1739c9f9533a8db
5개 더 보기
- github.com/python/cpython/commit/96510a3758f4a075f43223afdee3b6ee1a7a7f02
- github.com/python/cpython/commit/cb409342a19f25656f62e679f8bac265fe1442c3
- github.com/python/cpython/issues/152674
- github.com/python/cpython/pull/152676
- mail.python.org/archives/list/[email protected]/thread/7YMZ6DDZVR26TJJBVO3RDNBAVGHNYAKR/