CVE-2023-48311: jupyter dockerspawner Improper Input Validation
Vulnerability summary
CVE-2023-48311 is a high (CVSS 8.0) Improper Input Validation vulnerability in jupyter dockerspawner. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 49.8% of scored vulnerabilities.
Timeline
- 08-12-2023PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
dockerspawner is a tool to spawn JupyterHub single user servers in Docker containers. Users of JupyterHub deployments running DockerSpawner starting with 0.11.0 without specifying `DockerSpawner.allowed_images` configuration allow users to launch _any_ pullable docker image, instead of restricting to only the single configured image, as intended. This issue has been addressed in commit `3ba4b665b` which has been included in dockerspawner release version 13. Users are advised to upgrade. Users unable to upgrade should explicitly set `DockerSpawner.allowed_images` to a non-empty list containing only the default image will result in the intended default behavior.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · PypiEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
0.00 pp
From 0.64% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Jupyter1 product
- dockerspawner≥ 0.11.0, < 13.0
Jupyterhub1 product
- dockerspawner≥ 0.11.0, < 13.0
PyPI1 product
- dockerspawner≥ 0.11.0, < 13.0.0
3 vendors · 3 products
References
6 links- github.com/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2X Refsource CONFIRMWEBVendor Advisory
- github.com/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626X Refsource MISCWEBPatch