🔍 CVE-2026-59927

5.3
CVSS Score
MEDIUM
2026-07-08
2026-10-25 17:10
✅ 완료

🇰🇷 한글 설명

Mistune 3.3.0 미만 버전의 Python Markdown 파서에서 발생하는 취약점입니다. 두 개의 마크다운 파일이 서로를 포함하도록 설정할 경우, 간접적인 순환 참조를 감지하지 못해 무한 재귀가 발생하며, 이로 인해 RecursionError가 발생하여 렌더링 요청이 중단될 수 있습니다.

💡 쉬운 설명

마크다운 파일을 읽어주는 프로그램이 서로를 계속 불러오는 무한 반복 상태에 빠질 수 있는 문제입니다. 이로 인해 프로그램이 과부하를 일으키며 갑자기 멈추거나 꺼질 수 있습니다.

🇺🇸 원문 (English)

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directive in src/mistune/directives/include.py detects only direct self-includes and not indirect cycles, allowing two markdown files that include each other to trigger unbounded recursion, raise RecursionError, and crash the rendering request. This issue is fixed in version 3.3.0.

📍 영향받는 시스템

Mistune Python library versions prior to 3.3.0

⚔️ 공격 벡터

서로를 참조하는 두 개의 마크다운 파일을 생성하여 파서에 입력함으로써 서비스 거부(DoS) 유발

🛡️ 대응 방법

Mistune 라이브러리를 3.3.0 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 3.3.0보다 낮으면 취약한 상태입니다.

Shell / Script
pip show mistune | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

💻 영향받는 소프트웨어

Python