🔍 CVE-2022-29241

7.1
CVSS Score
HIGH
2022-06-14
2026-06-17 04:39
✅ 완료

🇰🇷 한글 설명

Jupyter Server 1.17.1 미만 버전에서 root_dir이 사용자 홈 디렉토리를 포함할 경우, 서버의 PID를 추측하여 시작 시 할당된 액세스 토큰을 유출할 수 있는 취약점이 존재합니다. 공격자는 탈취한 토큰을 이용해 REST API를 통해 시스템의 중요 파일을 수정하거나 권한을 획득할 수 있습니다.

💡 쉬운 설명

해커가 특정 방법을 통해 사용자의 로그인 열쇠(토큰)를 몰래 훔쳐낼 수 있는 보안 약점입니다. 이 열쇠를 손에 넣으면 해커가 컴퓨터의 중요한 설정 파일을 바꾸거나 시스템을 마음대로 조종할 수 있습니다.

🇺🇸 원문 (English)

Jupyter Server provides the backend (i.e. the core services, APIs, and REST endpoints) for Jupyter web applications like Jupyter Notebook. Prior to version 1.17.1, if notebook server is started with a value of `root_dir` that contains the starting user's home directory, then the underlying REST API can be used to leak the access token assigned at start time by guessing/brute forcing the PID of the jupyter server. While this requires an authenticated user session, this URL can be used from a cross-site scripting payload or from a hooked or otherwise compromised browser to leak this access token to a malicious third party. This token can be used along with the REST API to interact with Jupyter services/notebooks such as modifying or overwriting critical files, such as .bashrc or .ssh/authorized_keys, allowing a malicious user to read potentially sensitive data and possibly gain control of the impacted system. This issue is patched in version 1.17.1.

📍 영향받는 시스템

Jupyter Server 1.17.1 미만 버전

⚔️ 공격 벡터

인증된 사용자 세션을 이용한 PID 추측 및 브루트 포싱을 통한 액세스 토큰 유출

🛡️ 대응 방법

Jupyter Server를 1.17.1 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.17.1보다 낮은지 확인하십시오.

Shell / Script
pip show jupyter_server | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring Data REST