🔍 CVE-2026-114140

0.0
CVSS Score
UNKNOWN
2026-10-21
2026-10-22 17:29
✅ 완료

🇰🇷 한글 설명

nbconvert 도구의 ExtractOutputPreprocessor에서 파일 경로 제한 검증이 누락되어 경로 탐색(Path Traversal) 취약점이 존재합니다. 공격자가 조작한 노트북 파일을 변환할 경우, 출력 파일명이 의도하지 않은 임의의 경로에 저장될 수 있습니다. 이 문제는 7.17.2 버전에서 수정되었습니다.

💡 쉬운 설명

악성 코드가 담긴 주피터 노트북 파일을 변환하면, 컴퓨터의 엉뚱한 위치에 파일을 생성하거나 덮어쓸 수 있는 보안 약점입니다. 사용자가 파일을 변환하는 과정에서 공격자가 원하는 위치에 파일을 심을 수 있습니다.

🇺🇸 원문 (English)

The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. From 5.4.0 until 7.17.2, ExtractOutputPreprocessor in nbconvert/preprocessors/extractoutput.py joins the attacker-controlled cell output metadata filename to output_files_dir without limiting the result to the intended directory. When a victim converts a malicious notebook with the markdown, LaTeX, reStructuredText, or AsciiDoc exporter, path traversal in the output filename can write attacker-controlled output data to arbitrary locations accessible to the victim. Running the notebook cell again replaces the malicious output metadata, but merely converting the supplied notebook does not. This issue is fixed in version 7.17.2.

📍 영향받는 시스템

nbconvert 5.4.0 ~ 7.17.2 버전

⚔️ 공격 벡터

조작된 메타데이터가 포함된 주피터 노트북 파일을 특정 익스포터(Markdown, LaTeX 등)로 변환

🛡️ 대응 방법

nbconvert를 7.17.2 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전 번호가 7.17.2 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
pip show nbconvert | grep Version

💻 영향받는 소프트웨어

Spring Data REST