개요
이 취약점이 무엇인지
There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives.
This vulnerability can be mitigated by including the following patch after importing the “tarfile” module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| CPythonPython Software Foundation | 최초 버전 | ≤ | 취약 | < | 3.9.24 | 3.9.24이상 |
| 3.10.0 | ≤ | 취약 | < | 3.10.19 | 3.10.19이상 | |
| 3.11.0 | ≤ | 취약 | < | 3.11.14 | 3.11.14이상 | |
| 3.12.0 | ≤ | 취약 | < | 3.12.12 | 3.12.12이상 | |
| 3.13.0 | ≤ | 취약 | < | 3.13.6 | 3.13.6이상 | |
| 3.14.0a1 | ≤ | 취약 | < | 3.14.0rc2 | 3.14.0rc2이상 | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타13
- gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
- github.com/python/cpython/commit/57f5981d6260ed21266e0c26951b8564cc252bc2
- github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38
- github.com/python/cpython/commit/73f03e4808206f71eb6b92c579505a220942ef19
- github.com/python/cpython/commit/b4ec17488eedec36d3c05fec127df71c0071f6cb
8개 더 보기
- github.com/python/cpython/commit/c9d9f78feb1467e73fd29356c040bde1c104f29f
- github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe
- github.com/python/cpython/commit/fbc2a0ca9ac8aff6887f8ddf79b87b4510277227
- github.com/python/cpython/issues/130577
- github.com/python/cpython/pull/137027
- mail.python.org/archives/list/[email protected]/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/
- openwall.com/lists/oss-security/2025/07/28/1
- openwall.com/lists/oss-security/2025/07/28/2