CVE-2023-48311 json
Any image allowed by default
published 2023-12-08 2 y ago modified 2026-07-07 4 mo ago also GHSA-hfgr-h3vc-p6c2 , PYSEC-2026-1312 , EUVD-2023-3219
- cvss
- 8.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi dockerspawner 13.0.0
- jupyter dockerspawner 13.0
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | dockerspawner | >=0.11.0, <13.0.0 |
13.0.0 |
Affected products
- jupyterhub dockerspawner
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626
web, patch
-
github.com
/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-48311
advisory
-
github.com
/jupyterhub/dockerspawner
package
-
pypi.org
/project/dockerspawner
package
-
github.com
/advisories/GHSA-hfgr-h3vc-p6c2
advisory
Sources
- CVE List CVE-2023-48311
- GitHub Advisory GHSA-hfgr-h3vc-p6c2
- NVD CVE-2023-48311
- OSV PYSEC-2026-1312
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.