{"answers":{"affected":"4 open source packages ship an affected version, including jupyterhub. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-41247 in the wild and no public exploit code.","fix":"Upgrade jupyterhub to 1.5.0 or later.","what":"CVE-2021-41247 is a low-severity vulnerability in jupyterhub, published on 4 Nov 2021. 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-2021-41247 and fix it if it is affected.\n\nWhat it is: CVE-2021-41247 is a low-severity vulnerability in jupyterhub, published on 4 Nov 2021. 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-2021-41247 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- jupyterhub (Bitnami): affected from 1.0.0; fixed in 1.5.0\n- jupyterhub (PyPI): affected from 1.0.0; fixed in 1.5.0\n- jupyterhub (PyPI): affected from 1.0.0; fixed in 1.5.0\n- jupyterhub (PyPI): affected from 1.0.0; fixed in 1.5.0\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-2021-41247/ (Markdown: https://insights.sbomify.com/CVE-2021-41247/index.md)","id":"CVE-2021-41247","markdown":"https://insights.sbomify.com/CVE-2021-41247/index.md","name":"CVE-2021-41247","record":{"aliases":["BIT-jupyterhub-2021-41247","DEBIAN-CVE-2021-41247","GHSA-cw7p-q79f-m2v7","PYSEC-2021-386"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JupyterHub server","requires_auth":"low_privilege","summary":"Attackers can retain access to single-user servers after logout if multiple tabs are open, bypassing session termination controls.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jupyterhub","vendor":"jupyter"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"description":"JupyterHub is an open source multi-user server for Jupyter notebooks. In affected versions users who have multiple JupyterLab tabs open in the same browser session, may see incomplete logout from the single-user server, as fresh credentials (for the single-user server only, not the Hub) reinstated after logout, if another active JupyterLab session is open while the logout takes place. Upgrade to JupyterHub 1.5. For distributed deployments, it is jupyterhub in the _user_ environment that needs patching. There are no patches necessary in the Hub environment. The only workaround is to make sure that only one JupyterLab tab is open when you log out.","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":"incomplete logout in JupyterHub","id":"CVE-2021-41247","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"security_feature_bypass","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"XSS vulnerability in GraphiQL","id":"CVE-2021-41248"},"packages":[{"ecosystem":"Bitnami","fixed":["1.5.0"],"introduced":["1.0.0"],"last_affected":[],"package":"jupyterhub","purl":"pkg:bitnami/jupyterhub","source":"BIT-jupyterhub-2021-41247"},{"ecosystem":"PyPI","fixed":["1.5.0"],"introduced":["1.0.0"],"last_affected":[],"package":"jupyterhub","purl":null,"source":"GHSA-cw7p-q79f-m2v7"},{"ecosystem":"PyPI","fixed":["1.5.0"],"introduced":["1.0.0"],"last_affected":[],"package":"jupyterhub","purl":"pkg:pypi/jupyterhub","source":"GHSA-cw7p-q79f-m2v7"},{"ecosystem":"PyPI","fixed":["1.5.0"],"introduced":["1.0.0"],"last_affected":[],"package":"jupyterhub","purl":"pkg:pypi/jupyterhub","source":"PYSEC-2021-386"}],"prev":{"headline":"Session fixation in express-openid-connect","id":"CVE-2021-41246"},"products":["jupyterhub"],"published":"2021-11-04","related":[{"cvss_score":8.1,"headline":"XSS in JupyterHub via Self-XSS leveraged by Cookie Tossing","id":"CVE-2024-28233","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":7.2,"headline":"JupyterHub has a privilege escalation vulnerability with the `admin:users` scope","id":"CVE-2024-41942","kev_date_added":null,"published":"2024-08-08"},{"cvss_score":6.1,"headline":"Open Redirect vulnerability in jupyterhub and notebook","id":"CVE-2019-10255","kev_date_added":null,"published":"2019-03-28"},{"cvss_score":5.4,"headline":"JupyterHub: Cross-origin form POSTs bypass XSRF","id":"CVE-2026-40864","kev_date_added":null,"published":"2026-05-22"},{"cvss_score":5.1,"headline":"JupyterHub has an Open Redirect Vulnerability","id":"CVE-2026-33709","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":4.5,"headline":"Cross-Site Request Forgery in JupyterHub","id":"CVE-2020-36191","kev_date_added":null,"published":"2021-01-13"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["jupyterhub"]},"summary":"Attackers can retain access to single-user servers after logout if multiple tabs are open, bypassing session termination controls.","url":"https://insights.sbomify.com/CVE-2021-41247/"}