🇰🇷 한글 설명
ChatterBot 1.2.10 이하 버전에서 데이터베이스 세션 및 연결 풀 관리가 부적절하여 서비스 거부(DoS) 상태가 발생할 수 있습니다. get_response() 메서드를 동시에 여러 번 호출하면 SQLAlchemy 연결 풀이 고갈되어 서비스가 중단되며, 복구를 위해 수동 재시작이 필요합니다.
💡 쉬운 설명
챗봇 프로그램이 데이터베이스 연결을 제대로 정리하지 못해 발생하는 문제입니다. 많은 요청이 한꺼번에 들어오면 연결 통로가 꽉 막혀서 챗봇이 응답을 멈추게 됩니다.
🇺🇸 원문 (English)
ChatterBot is a machine learning, conversational dialog engine for creating chat bots. ChatterBot versions up to 1.2.10 are vulnerable to a denial-of-service condition caused by improper database session and connection pool management. Concurrent invocations of the get_response() method can exhaust the underlying SQLAlchemy connection pool, resulting in persistent service unavailability and requiring a manual restart to recover. Version 1.2.11 fixes the issue.
📍 영향받는 시스템
ChatterBot versions up to 1.2.10
⚔️ 공격 벡터
get_response() 메서드에 대한 동시 다발적인 호출을 통한 연결 풀 고갈 공격
🛡️ 대응 방법
ChatterBot을 버전 1.2.11 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 1.2.10 이하이면 취약한 상태이며, 1.2.11 이상이면 안전합니다.
pip show chatterbot | grep Version