{"id":"GHSA-cw7p-q79f-m2v7","summary":"incomplete JupyterHub logout with simultaneous JupyterLab sessions","details":"### Impact\n\nUsers of JupyterLab with JupyterHub 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.\n\n### Patches\n\nUpgrade 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.\n\n### Workarounds\n\nThe only workaround is to make sure that only one JupyterLab tab is open when you log out.","aliases":["BIT-jupyterhub-2021-41247","CVE-2021-41247","PYSEC-2021-386"],"modified":"2026-07-08T06:28:53.199283056Z","published":"2021-11-08T18:02:37Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-11-04T17:49:19Z","nvd_published_at":"2021-11-04T18:15:00Z","cwe_ids":["CWE-613"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41247"},{"type":"WEB","url":"https://github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27"},{"type":"PACKAGE","url":"https://github.com/jupyterhub/jupyterhub"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml"}],"affected":[{"package":{"name":"jupyterhub","ecosystem":"PyPI","purl":"pkg:pypi/jupyterhub"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.5.0"}]}],"versions":["1.0.0","1.1.0","1.1.0b1","1.2.0","1.2.0b1","1.2.1","1.2.2","1.3.0","1.4.0","1.4.1","1.4.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-cw7p-q79f-m2v7/GHSA-cw7p-q79f-m2v7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"}]}