🇰🇷 한글 설명
NLTK 3.9.3 및 이전 버전의 `nltk.app.wordnet_app`에서 발생하는 취약점입니다. 기본 모드로 실행된 WordNet Browser HTTP 서버에 특정 GET 요청을 보내면 인증 없이 서버 프로세스를 즉시 종료시켜 서비스 거부(DoS) 상태를 유발할 수 있습니다.
💡 쉬운 설명
특정 웹 주소로 요청을 보내는 것만으로도 실행 중인 언어 처리 도구 서버를 강제로 꺼버릴 수 있는 문제입니다. 이로 인해 서버가 작동을 멈춰 정상적인 서비스를 이용할 수 없게 됩니다.
🇺🇸 원문 (English)
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. In versions 3.9.3 and prior, `nltk.app.wordnet_app` allows unauthenticated remote shutdown of the local WordNet Browser HTTP server when it is started in its default mode. A simple `GET /SHUTDOWN%20THE%20SERVER` request causes the process to terminate immediately via `os._exit(0)`, resulting in a denial of service. Commit bbaae83db86a0f49e00f5b0db44a7254c268de9b patches the issue.
📍 영향받는 시스템
NLTK 3.9.3 및 그 이전 버전
⚔️ 공격 벡터
인증되지 않은 원격 사용자가 특정 경로(`/SHUTDOWN%20THE%20SERVER`)로 HTTP GET 요청을 전송
🛡️ 대응 방법
NLTK를 최신 버전(패치 버전 bbaae83db 적용 버전)으로 업데이트
🔧 검증 코드
출력된 버전이 3.9.3 이하인지 확인하여 취약 여부를 판단합니다.
pip show nltk | grep Version