CVE-2021-41247: incomplete logout in JupyterHub
Vulnerability summary
CVE-2021-41247 is a high (CVSS 7.5) vulnerability in jupyter jupyterhub. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 58% of scored vulnerabilities.
Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 04-11-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- CVE.orgCNA3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · PypiEcosystem advisory · calculated3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.80%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.80% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- jupyterhub< 2.0.0+ds1-1
Jupyter1 product
- jupyterhub≥ 1.0.0, < 1.5.0
Jupyterhub1 product
- jupyterhub≥ 1.0.0, < 1.5.0 - jupyterhub (pip) (No fix recorded) | < 1.2.0 - jupyterhub (helm)
PyPI1 product
- jupyterhub< 5ac9e7f73a6e1020ffddc40321fc53336829fe27 | ≥ 1.0.0, < 1.5.0
4 vendors · 4 products
References
6 links- github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27X Refsource MISCWEBFIXPatchThird Party Advisory