🇰🇷 한글 설명
Python 3.8.3 이하 버전의 ipaddress.py 라이브러리에서 IPv4Interface 및 IPv6Interface 클래스의 해시 값이 부적절하게 계산되는 취약점이 발견되었습니다. 공격자가 많은 수의 딕셔너리 항목을 생성하도록 유도할 경우, 시스템 성능 저하를 일으켜 서비스 거부(DoS) 상태를 유발할 수 있습니다.
💡 쉬운 설명
IP 주소를 다루는 프로그램에서 계산 오류를 이용해 컴퓨터의 메모리와 처리 능력을 과도하게 사용하게 만드는 공격입니다. 이로 인해 프로그램이 매우 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to cause a denial of service if an application is affected by the performance of a dictionary containing IPv4Interface or IPv6Interface objects, and this attacker can cause many dictionary entries to be created. This is fixed in: v3.5.10, v3.5.10rc1; v3.6.12; v3.7.9; v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1; v3.9.0, v3.9.0b4, v3.9.0b5, v3.9.0rc1, v3.9.0rc2.
📍 영향받는 시스템
Python 3.8.3 이하 버전 (v3.5.x, v3.6.x, v3.7.x, v3.8.x 계열 중 특정 버전)
⚔️ 공격 벡터
조작된 IPv4/IPv6 인터페이스 객체를 딕셔너리에 대량으로 삽입하여 해시 충돌 및 성능 저하 유도
🛡️ 대응 방법
Python을 수정된 버전(v3.5.10, v3.6.12, v3.7.9, v3.8.4 이상 등)으로 업데이트하십시오.
🔧 검증 코드
출력된 Python 버전이 취약점이 해결된 버전(예: 3.8.4 이상)인지 확인합니다.