CVE-2022-29241

CVE-2022-29241 is a high-severity security vulnerability in jupyter-server (pip), affecting versions >= 0, < 1.17.1. It is fixed in 1.17.1, 2.0.0a1.

Check whether CVE-2022-29241 affects your applications

Kodem tells you whether this CVE is present, reachable, and actually executing in your application, so you know if it matters.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence. Only the CVEs that actually run in production.

Summary

Jupyter server Token bruteforcing

Full technical description

Affects: Notebook and Lab between 6.4.0?(potentially earlier) and 6.4.11 (currently latest). Jupyter Server <=1.16.0. If I am correct about the responsible code it will affect Jupyter-Server 1.17.0 and 2.0.0a0 as well.
Description: 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 an xss payload (as in CVE-2021-32798) 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.

Impact

CVE-2022-29241 has a CVSS score of 7.1 (High). The vector is network-reachable, low privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (1.17.1, 2.0.0a1); upgrading removes the vulnerable code path.

Affected versions

jupyter-server (>= 0, < 1.17.1) jupyter-server (= 2.0.0a0)

Security releases

jupyter-server → 1.17.1 (pip) jupyter-server → 2.0.0a1 (pip)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade the following packages to resolve this vulnerability:

jupyter-server to 1.17.1 or later; jupyter-server to 2.0.0a1 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is CVE-2022-29241? CVE-2022-29241 is a high-severity security vulnerability in jupyter-server (pip), affecting versions >= 0, < 1.17.1. It is fixed in 1.17.1, 2.0.0a1.
  2. How severe is CVE-2022-29241? CVE-2022-29241 has a CVSS score of 7.1 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of jupyter-server are affected by CVE-2022-29241? jupyter-server (pip) versions >= 0, < 1.17.1 is affected.
  4. Is there a fix for CVE-2022-29241? Yes. CVE-2022-29241 is fixed in 1.17.1, 2.0.0a1. Upgrade to this version or later.
  5. Is CVE-2022-29241 exploitable, and should I be worried? Whether CVE-2022-29241 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2022-29241 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2022-29241?
    • Upgrade jupyter-server to 1.17.1 or later
    • Upgrade jupyter-server to 2.0.0a1 or later

Other vulnerabilities in jupyter-server

Stop the waste.
Protect your environment with Kodem.