Information disclosure in Jupyter Server
CVE-2022-29241
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.010 (61.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 61.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.010 · change: +0.000
Affected products
- Jupyter Server
- Jupyter-Server Jupyter Server — versions < 1.17.1
Weakness classification (CWE)
References
- github.com/jupyter-server/jupyter_server/security/advisories/GHSA-q874-g24w-4q9g (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-29241?
- CVE-2022-29241 is a high-severity vulnerability in Jupyter Server, classified under Information Disclosure. CVSS score: 7.1/10. Published 2022-06-14.
- How severe is CVE-2022-29241?
- High severity. CVSS v3 base score is 7.1 out of 10.