{"answers":{"affected":"5 open source packages ship an affected version, including jupyter-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-29241 in the wild and no public exploit code.","fix":"Upgrade jupyter-server to a fixed version for your release line: 1.17.0, 1.17.1 or 2.0.0a1.","what":"CVE-2022-29241 is a high-severity vulnerability in jupyter-server jupyter_server, published on 14 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-29241 and fix it if it is affected.\n\nWhat it is: CVE-2022-29241 is a high-severity vulnerability in jupyter-server jupyter_server, published on 14 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-29241 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jupyter-server (PyPI): affected all versions; fixed in 1.17.0\n- jupyter-server (PyPI): affected all versions; fixed in 1.17.1\n- jupyter-server (PyPI): affected all versions; fixed in 1.17.1\n- jupyter-server (PyPI): affected from 2.0.0a0; fixed in 2.0.0a1\n- jupyter-server (PyPI): affected from 2.0.0a0; fixed in 2.0.0a1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-29241/ (Markdown: https://insights.sbomify.com/CVE-2022-29241/index.md)","id":"CVE-2022-29241","markdown":"https://insights.sbomify.com/CVE-2022-29241/index.md","name":"CVE-2022-29241","record":{"aliases":["DEBIAN-CVE-2022-29241","GHSA-q874-g24w-4q9g","PYSEC-2022-211","UBUNTU-CVE-2022-29241","openSUSE-SU-2024:12147-1","openSUSE-SU-2025:14845-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Jupyter Server","requires_auth":"low_privilege","summary":"An authenticated attacker can leak the Jupyter access token via hidden files, enabling data theft and potential system control.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jupyter_server","vendor":"jupyter"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"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.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Known or guessable hidden files may be accessed in Jupyter Server","id":"CVE-2022-29241","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":6,"n_references":1,"next":{"headline":"Buffer Overflow on creating key transport blob in GOST Engine","id":"CVE-2022-29242"},"packages":[{"ecosystem":"PyPI","fixed":["1.17.0"],"introduced":["0"],"last_affected":[],"package":"jupyter-server","purl":"pkg:pypi/jupyter-server","source":"PYSEC-2022-211"},{"ecosystem":"PyPI","fixed":["1.17.1"],"introduced":["0"],"last_affected":[],"package":"jupyter-server","purl":null,"source":"GHSA-q874-g24w-4q9g"},{"ecosystem":"PyPI","fixed":["1.17.1"],"introduced":["0"],"last_affected":[],"package":"jupyter-server","purl":"pkg:pypi/jupyter-server","source":"GHSA-q874-g24w-4q9g"},{"ecosystem":"PyPI","fixed":["2.0.0a1"],"introduced":["2.0.0a0"],"last_affected":[],"package":"jupyter-server","purl":null,"source":"GHSA-q874-g24w-4q9g"},{"ecosystem":"PyPI","fixed":["2.0.0a1"],"introduced":["2.0.0a0"],"last_affected":[],"package":"jupyter-server","purl":"pkg:pypi/jupyter-server","source":"GHSA-q874-g24w-4q9g"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.14.2-3.1"],"introduced":["0"],"last_affected":[],"package":"python-jupyter-server","purl":"pkg:rpm/opensuse/python-jupyter-server\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14845-1"}],"prev":{"headline":"Uninitialized memory read in LZ4 decompression leads to authentication bypass in Scylla","id":"CVE-2022-29240"},"products":["jupyter_server"],"published":"2022-06-14","related":[{"cvss_score":9.3,"headline":"Jupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSP","id":"CVE-2026-44727","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":7.6,"headline":"jupyter-server path traversal allows access to sibling directories sharing root_dir name prefix","id":"CVE-2026-35397","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.6,"headline":"jupyter-server CORS origin validation bypass via unanchored regex in allow_origin_pat","id":"CVE-2026-40110","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.6,"headline":"jupyter-server authentication cookies remain valid after password reset due to static cookie secret","id":"CVE-2026-40934","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.5,"headline":"Jupyter server on Windows discloses Windows user password hash","id":"CVE-2024-35178","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":7.5,"headline":"Sensitive Auth \u0026 Cookie data stored in Jupyter server logs","id":"CVE-2022-24757","kev_date_added":null,"published":"2022-03-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["jupyter-server"]},"summary":"An authenticated attacker can leak the Jupyter access token via hidden files, enabling data theft and potential system control.","url":"https://insights.sbomify.com/CVE-2022-29241/"}