{"schemaVersion":3,"id":"CVE-2024-41942","aliases":["GHSA-9x4q-3gxw-849f","BIT-jupyterhub-2024-41942","PYSEC-2024-200","UBUNTU-CVE-2024-41942","DEBIAN-CVE-2024-41942","CGA-3qjw-39g8-g5wj","CGA-vv2f-jqvc-cg7c"],"status":"published","duplicateOf":null,"title":null,"description":"JupyterHub is software that allows one to create a multi-user server for Jupyter notebooks. Prior to versions 4.1.6 and 5.1.0, if a user is granted the `admin:users` scope, they may escalate their own privileges by making themselves a full admin user. The impact is relatively small in that `admin:users` is already an extremely privileged scope only granted to trusted users.\nIn effect, `admin:users` is equivalent to `admin=True`, which is not intended. Note that the change here only prevents escalation to the built-in JupyterHub admin role that has unrestricted permissions. It does not prevent users with e.g. `groups` permissions from granting themselves or other users permissions via group membership, which is intentional. Versions 4.1.6 and 5.1.0 fix this issue.","dates":{"published":"2024-08-08T14:36:44.498Z","modified":"2024-08-08T15:17:06.179Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0059,"percentile":0.47459,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0059},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0059,"percentile":0.47459}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0059,"percentile":0.47459}]},"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-274","name":"Improper Handling of Insufficient Privileges","description":"The product does not handle or incorrectly handles when it has insufficient privileges to perform an operation, leading to resultant weaknesses.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/274.html"}],"affected":[{"vendor":"chainguard","product":"py3-jupyterhub","name":"py3-jupyterhub","label":"py3-jupyterhub","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-jupyterhub","purlType":"apk","versions":[{"text":"< 5.1.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-jupyterhub","name":"py3-jupyterhub","label":"py3-jupyterhub","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-jupyterhub","purlType":"apk","versions":[{"text":"< 5.1.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/jupyterhub","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.2.1+ds1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.2.1+ds1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jupyterhub","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"jupyter","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.1.6","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.6 | 5.0.0 | 5.0.0:beta1 | 5.0.0:beta2","eol":null,"hubHref":"/vendor/jupyter/jupyterhub"},{"vendor":"jupyterhub","product":"jupyterhub","name":"jupyterhub","label":"jupyterhub","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.1.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.1.6 | ≥ 5.0.0, < 5.1.0","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":"≥ 5.0.0, < 5.1.0","noFixRecorded":false,"fixedIn":null},{"text":"< ff2db557a85b6980f90c3158634bf924063ab8ba","noFixRecorded":false,"fixedIn":null},{"text":"< 4.1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.1.0 | < ff2db557a85b6980f90c3158634bf924063ab8ba | < 4.1.6","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyterhub/jupyterhub/security/advisories/GHSA-9x4q-3gxw-849f","label":"github.com/jupyterhub/jupyterhub/security/advisories/GHSA-9x4q-3gxw-849f","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Third Party Advisory"]},{"url":"https://github.com/jupyterhub/jupyterhub/commit/99e2720b0fc626cbeeca3c6337f917fdacfaa428","label":"github.com/jupyterhub/jupyterhub/commit/99e2720b0fc626cbeeca3c6337f917fdacfaa428","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://github.com/jupyterhub/jupyterhub/commit/ff2db557a85b6980f90c3158634bf924063ab8ba","label":"github.com/jupyterhub/jupyterhub/commit/ff2db557a85b6980f90c3158634bf924063ab8ba","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41942","label":"nvd.nist.gov/vuln/detail/CVE-2024-41942","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-2024-200.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2024-200.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-41942","label":"ubuntu.com/security/CVE-2024-41942","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-41942","label":"www.cve.org/CVERecord?id=CVE-2024-41942","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-41942","label":"security-tracker.debian.org/tracker/CVE-2024-41942","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41942.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41942.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-96RM-6FFX-8WM2","CGA-WW33-3GGR-PCPG"]},"timeline":[{"kind":"published","date":"2024-08-08T14:36:44.498Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T15:17:06.179Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T22:05:09.226Z","stale":false,"partial":false}}