🇰🇷 한글 설명
JupyterLab의 markdownviewer:trust 및 notebook:trust 명령 핸들러가 현재 활성화된 위젯을 잘못 참조하여 발생하는 취약점입니다. 사용자가 특정 문서를 신뢰하도록 선택했을 때, 다른 문서가 활성화되어 있다면 의도치 않게 해당 문서가 신뢰 상태로 변경될 수 있습니다. 이로 인해 보안 검토 없이 악성 코드가 포함된 셀이 실행되거나 서버 서명이 디스크에 저장될 위험이 있습니다.
💡 쉬운 설명
사용자가 '이 문서를 믿어도 된다'고 버튼을 눌렀을 때, 시스템이 엉뚱한 문서를 믿는 것으로 착각하는 오류입니다. 이 때문에 사용자가 확인하지 않은 위험한 문서가 몰래 실행될 수 있습니다.
🇺🇸 원문 (English)
JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. From 4.5.7 until 4.5.11 and 4.6.4, the markdownviewer:trust and notebook:trust command-link handlers use tracker.currentWidget to resolve the current Markdown viewer or notebook when the user answers rather than retaining the document whose command button was clicked. If another document becomes current while the prompt is open and the user chooses Trust, JupyterLab marks the second document trusted while leaving the clicked document untrusted. Later command buttons in the incorrectly trusted document run without a prompt, and trusting a notebook marks all cells trusted, saves unsaved edits, and persists the server signature to disk. Applications that bundle JupyterLab, including affected Notebook and JupyterLite releases, inherit the behavior. This issue is fixed in versions 4.5.11 and 4.6.4.
📍 영향받는 시스템
JupyterLab 4.5.7 ~ 4.5.11 및 4.6.4 (Notebook 및 JupyterLite 포함)
⚔️ 공격 벡터
사용자가 신뢰 확인 창이 떠 있는 동안 다른 문서를 클릭하여 현재 활성 위젯을 변경하는 방식
🛡️ 대응 방법
JupyterLab을 버전 4.5.11 또는 4.6.4 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 4.5.11 미만이거나 4.6.4 버전인 경우 취약할 수 있습니다.
pip show jupyterlab | grep Version
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server