Bug 2099494 (CVE-2022-29241) - CVE-2022-29241 jupyter-server: possible access token leak
Summary: CVE-2022-29241 jupyter-server: possible access token leak
Keywords:
Status: NEW
Alias: CVE-2022-29241
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2099495
TreeView+ depends on / blocked
 
Reported: 2022-06-21 06:20 UTC by Marian Rehak
Modified: 2023-07-07 08:35 UTC (History)
1 user (show)

Fixed In Version: jupyter-server 1.17.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-06-21 06:20:55 UTC
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.

Reference:

https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-q874-g24w-4q9g


Note You need to log in before you can comment on or make changes to this bug.