🇰🇷 한글 설명
Python 2.5.2 이전 버전의 PyOS_vsnprintf 함수에서 정수 오버플로우 취약점이 발견되었습니다. 공격자가 문자열 포매팅 연산에 특수 조작된 입력을 제공하여 메모리 손상이나 서비스 거부를 야기할 수 있습니다.
💡 쉬운 설명
Python의 문자열 포매팅 함수가 매우 큰 숫자를 처리할 때 메모리 관리 오류를 일으킵니다. 악의적인 사용자가 이를 악용하여 프로그램을 중단시키거나 시스템 메모리를 손상시킬 수 있습니다.
🇺🇸 원문 (English)
Multiple integer overflows in the PyOS_vsnprintf function in Python/mysnprintf.c in Python 2.5.2 and earlier allow context-dependent attackers to cause a denial of service (memory corruption) or have unspecified other impact via crafted input to string formatting operations. NOTE: the handling of certain integer values is also affected by related integer underflows and an off-by-one error.
📍 영향받는 시스템
Python 2.5.2 이전 모든 버전 (2.x 계열)
⚔️ 공격 벡터
문자열 포매팅 연산(%s, %d 등)에 특수 조작된 입력값 제공
🛡️ 대응 방법
Python을 2.5.3 이상으로 업그레이드 또는 패치 적용
🔧 검증 코드
취약한 버전이 출력되면 업그레이드 필요. 출력이 없으면 패치된 버전 또는 Python 3.x 사용 중
python --version | grep -E 'Python 2\.(0|1|2|3|4|5\.[0-2])'