CVE-2023-48311
MEDIUM 4.3CVSS 3.1DockerSpawner allows any image by default
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.
- Published
- 8 Dec 2023
- Last modified
- 7 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-hfgr-h3vc-p6c2PYSEC-2026-1312
- Sources
- NVDJSONOSV GHSA-hfgr-h3vc-p6c2JSONOSV PYSEC-2026-1312JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | dockerspawnercpe:2.3:a:jupyter:dockerspawner:*:*:*:*:*:*:*:* |
>= 0.11.0, < 13.0 | 13.0 |
| OSV | PyPI | dockerspawner | >= 0.11.0, < 13.0.0 | 13.0.0 |
References
- https://github.com/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626 · Patch, WEB
- https://github.com/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-48311 · ADVISORY
- https://github.com/jupyterhub/dockerspawner · PACKAGE
- https://pypi.org/project/dockerspawner · PACKAGE
- https://github.com/advisories/GHSA-hfgr-h3vc-p6c2 · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 8 Dec 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Dec 2023)