{"answers":{"affected":"5 open source packages ship an affected version, including jupyter-base-notebook, jupyter-notebook and notebook. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24758 in the wild and no public exploit code.","fix":"Upgrade jupyter-base-notebook to 6.4.10 or later.","what":"CVE-2022-24758 is a high-severity vulnerability in jupyter notebook, published on 31 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24758 and fix it if it is affected.\n\nWhat it is: CVE-2022-24758 is a high-severity vulnerability in jupyter notebook, published on 31 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-24758 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jupyter-base-notebook (Bitnami): affected all versions; fixed in 6.4.10\n- jupyter-notebook (Bitnami): affected all versions; fixed in 6.4.10\n- notebook (PyPI): affected all versions; fixed in 6.4.10\n- notebook (PyPI): affected all versions; fixed in 6.4.10\n- notebook (PyPI): affected all versions; fixed in 6.4.10\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-24758/ (Markdown: https://insights.sbomify.com/CVE-2022-24758/index.md)","id":"CVE-2022-24758","markdown":"https://insights.sbomify.com/CVE-2022-24758/index.md","name":"CVE-2022-24758","record":{"aliases":["BIT-jupyter-base-notebook-2022-24758","BIT-jupyter-notebook-2022-24758","CLEANSTART-2026-LA02184","DEBIAN-CVE-2022-24758","GHSA-m87f-39q9-6f55","PYSEC-2022-180","UBUNTU-CVE-2022-24758"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Jupyter Notebook","requires_auth":"none","summary":"Attackers can steal sensitive authentication cookies from server logs triggered by 5xx errors, leading to unauthorized access to the Jupyter server.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"notebook","vendor":"jupyter"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"The Jupyter notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.9, unauthorized actors can access sensitive information from server logs. Anytime a 5xx error is triggered, the auth cookie and other header values are recorded in Jupyter server logs by default. Considering these logs do not require root access, an attacker can monitor these logs, steal sensitive auth/cookie information, and gain access to the Jupyter server. Jupyter notebook version 6.4.x contains a patch for this issue. There are currently no known workarounds.","ecosystems":["Bitnami","PyPI"],"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":"Insertion of Sensitive Information into Log File affects Jupyter Notebook","id":"CVE-2022-24758","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":5,"n_references":1,"next":{"headline":"Failure to validate signature during handshake in @chainsafe/libp2p-noise","id":"CVE-2022-24759"},"packages":[{"ecosystem":"Bitnami","fixed":["6.4.10"],"introduced":["0"],"last_affected":[],"package":"jupyter-base-notebook","purl":"pkg:bitnami/jupyter-base-notebook","source":"BIT-jupyter-base-notebook-2022-24758"},{"ecosystem":"Bitnami","fixed":["6.4.10"],"introduced":["0"],"last_affected":[],"package":"jupyter-notebook","purl":"pkg:bitnami/jupyter-notebook","source":"BIT-jupyter-notebook-2022-24758"},{"ecosystem":"PyPI","fixed":["6.4.10"],"introduced":["0"],"last_affected":[],"package":"notebook","purl":null,"source":"GHSA-m87f-39q9-6f55"},{"ecosystem":"PyPI","fixed":["6.4.10"],"introduced":["0"],"last_affected":[],"package":"notebook","purl":"pkg:pypi/notebook","source":"GHSA-m87f-39q9-6f55"},{"ecosystem":"PyPI","fixed":["6.4.10"],"introduced":["0"],"last_affected":[],"package":"notebook","purl":"pkg:pypi/notebook","source":"PYSEC-2022-180"}],"prev":{"headline":"Sensitive Auth \u0026 Cookie data stored in Jupyter server logs","id":"CVE-2022-24757"},"products":["notebook"],"published":"2022-03-31","related":[{"cvss_score":10,"headline":"Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) in notebook","id":"CVE-2021-32798","kev_date_added":null,"published":"2021-08-09"},{"cvss_score":7.8,"headline":"Jupyter Notebook file bypasses sanitization, executes JavaScript","id":"CVE-2018-8768","kev_date_added":null,"published":"2018-03-18"},{"cvss_score":6.1,"headline":"Jupyter Notebook open redirect vulnerability","id":"CVE-2019-10856","kev_date_added":null,"published":"2019-04-04"},{"cvss_score":6.1,"headline":"Jupyter Notebook XSS via untrusted notebooks","id":"CVE-2018-19351","kev_date_added":null,"published":"2018-11-18"},{"cvss_score":6.1,"headline":"Jupyter Notebook XSS via directory name","id":"CVE-2018-19352","kev_date_added":null,"published":"2018-11-18"},{"cvss_score":5.4,"headline":"Improper Neutralization of Input During Web Page Generation in Jupyter Notebook","id":"CVE-2019-9644","kev_date_added":null,"published":"2019-03-12"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["jupyter"]},"summary":"Attackers can steal sensitive authentication cookies from server logs triggered by 5xx errors, leading to unauthorized access to the Jupyter server.","url":"https://insights.sbomify.com/CVE-2022-24758/"}