🇰🇷 한글 설명
Python 바인딩이 활성화된 libxml2에서 발생하는 결함으로, 열거형 속성 값을 포함한 특수하게 제작된 DTD XML 문서를 통해 공격이 가능합니다. 이 취약점은 SAX 속성 선언 콜백 핸들러에서 이중 해제(double-free) 오류를 유발하여 Python 애플리케이션의 서비스 거부(DoS)를 일으킬 수 있습니다.
💡 쉬운 설명
악의적으로 만들어진 XML 파일을 처리할 때 프로그램이 메모리를 잘못 관리하여 갑자기 종료되는 문제입니다. 이로 인해 웹 서버나 관련 프로그램이 멈춰버려 서비스를 이용할 수 없게 될 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) with enumerated attribute values. This triggers a double-free error in the SAX attributeDecl callback handler, where a string is freed twice. This flaw can lead to a denial of service (DoS) due to a reproducible crash in Python applications using the libxml2 SAX bindings.
📍 영향받는 시스템
Python 바인딩이 활성화된 libxml2 라이브러리를 사용하는 모든 시스템
⚔️ 공격 벡터
특수하게 조작된 DTD(문서 형식 정의)가 포함된 XML 문서를 원격으로 전송
🛡️ 대응 방법
libxml2 라이브러리를 최신 보안 패치 버전으로 업데이트
🔧 검증 코드
설치된 libxml2의 버전을 확인하여 취약점이 해결된 최신 버전인지 대조합니다.
dpkg -l | grep libxml2 || rpm -qa | grep libxml2