개요
이 취약점이 무엇인지
There is an issue in CPython when using `bytes.decode("unicode_escape", error="ignore|replace")`. If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| CPythonPython Software Foundation | 최초 버전 | ≤ | 취약 | < | 3.9.23 | 3.9.23이상 |
| 3.10.0 | ≤ | 취약 | < | 3.10.18 | 3.10.18이상 | |
| 3.11.0 | ≤ | 취약 | < | 3.11.13 | 3.11.13이상 | |
| 3.12.0 | ≤ | 취약 | < | 3.12.11 | 3.12.11이상 | |
| 3.13.0 | ≤ | 취약 | < | 3.13.4 | 3.13.4이상 | |
| 3.14.0a1 | ≤ | 취약 | < | 3.14.0b2 | 3.14.0b2이상 | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타12
- github.com/python/cpython/commit/4398b788ffc1f954a2c552da285477d42a571292
- github.com/python/cpython/commit/6279eb8c076d89d3739a6edb393e43c7929b429d
- github.com/python/cpython/commit/69b4387f78f413e8c47572a85b3478c47eba8142
- github.com/python/cpython/commit/73b3040f592436385007918887b7e2132aa8431f
- github.com/python/cpython/commit/8d35fd1b34935221aff23a1ab69a429dd156be77
7개 더 보기
- github.com/python/cpython/commit/9f69a58623bd01349a18ba0c7a9cb1dad6a51e8e
- github.com/python/cpython/commit/ab9893c40609935e0d40a6d2a7307ea51aec598b
- github.com/python/cpython/issues/133767
- github.com/python/cpython/pull/129648
- mail.python.org/archives/list/[email protected]/thread/L75IPBBTSCYEF56I2M4KIW353BB3AY74/
- openwall.com/lists/oss-security/2025/05/16/4
- openwall.com/lists/oss-security/2025/05/19/1