🇰🇷 한글 설명
Mistune Python Markdown 파서 3.3.0 이전 버전에서 발생하는 취약점입니다. 특정 마커(tilde, equals-sign, caret)를 반복적으로 사용할 경우 CPU 자원을 과도하게 소모하여 서비스 거부(DoS)를 유발할 수 있습니다. 이 문제는 3.3.0 버전에서 수정되었습니다.
💡 쉬운 설명
특수한 기호를 반복해서 입력하면 컴퓨터가 이를 처리하느라 너무 많은 힘을 써서 시스템이 멈추게 만드는 공격입니다. 웹사이트의 글쓰기 기능 등을 통해 시스템을 마비시킬 수 있습니다.
🇺🇸 원문 (English)
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a run of closed tilde, equals-sign, or caret marker pairs around a character causes quadratic work in src/mistune/plugins/formatting.py when the strikethrough, mark, or insert plugin scans for matching markers from each possible start position, allowing denial of service through CPU exhaustion. This issue is fixed in version 3.3.0.
📍 영향받는 시스템
Mistune Python library versions prior to 3.3.0
⚔️ 공격 벡터
악의적으로 조작된 Markdown 텍스트를 입력하여 CPU 자원 고갈 유도
🛡️ 대응 방법
Mistune 라이브러리를 3.3.0 버전 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 3.3.0 미만이면 취약한 상태입니다.
pip show mistune | grep Version