{"schemaVersion":3,"id":"CVE-2021-41247","aliases":["GHSA-cw7p-q79f-m2v7","BIT-jupyterhub-2021-41247","PYSEC-2021-386","DEBIAN-CVE-2021-41247"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-11-04T17:15:11.000Z","modified":"2024-08-04T03:08:31.580Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.1,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","exploitability":5.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00804,"percentile":0.56034,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00804},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00804,"percentile":0.56034}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00804,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00804,"percentile":0.56034}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"}],"affected":[{"vendor":"debian","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/jupyterhub","purlType":"deb","versions":[{"text":"< 2.0.0+ds1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.0+ds1-1","eol":null,"hubHref":null},{"vendor":"jupyter","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.5.0","eol":null,"hubHref":"/vendor/jupyter/jupyterhub"},{"vendor":"jupyterhub","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.5.0 -  jupyterhub (pip)","noFixRecorded":true,"fixedIn":null},{"text":"< 1.2.0 -  jupyterhub (helm)","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.5.0 -  jupyterhub (pip) (No fix recorded) | < 1.2.0 -  jupyterhub (helm)","eol":null,"hubHref":"/vendor/jupyterhub/jupyterhub"},{"vendor":"PyPI","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyterhub","purlType":"pypi","versions":[{"text":"< 5ac9e7f73a6e1020ffddc40321fc53336829fe27","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0.0, < 1.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5ac9e7f73a6e1020ffddc40321fc53336829fe27 | ≥ 1.0.0, < 1.5.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7","label":"github.com/jupyterhub/jupyterhub/security/advisories/GHSA-cw7p-q79f-m2v7","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27","label":"github.com/jupyterhub/jupyterhub/commit/5ac9e7f73a6e1020ffddc40321fc53336829fe27","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41247","label":"nvd.nist.gov/vuln/detail/CVE-2021-41247","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jupyterhub/jupyterhub","label":"github.com/jupyterhub/jupyterhub","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2021-386.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-41247","label":"security-tracker.debian.org/tracker/CVE-2021-41247","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-11-04T17:15:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T03:08:31.580Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:43:35.025Z","stale":false,"partial":false}}