Skip to content

CVE-2023-48311 Any image allowed by default

MediumCVSS 4.3 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
Technology
Docker

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
jupyter dockerspawner >= 0.11.0, < 13.0 13.0 Fixed
pypi dockerspawner(PyPI) = 0.11.0; = 0.11.1; = 12.0.0; = 12.1.0 +1 more 13.0.0 Fixed
jupyterhub dockerspawner = >= 0.11.0, < 13.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi dockerspawner(PyPI) >= 0.11.0, < 13.0.0 13.0.0
pypi dockerspawner(PyPI) = 0.11.0 No fix listed
pypi dockerspawner(PyPI) = 0.11.1 No fix listed
pypi dockerspawner(PyPI) = 12.0.0 No fix listed
pypi dockerspawner(PyPI) = 12.1.0 No fix listed
jupyterhub dockerspawner = >= 0.11.0, < 13.0 No fix listed
jupyter dockerspawner >= 0.11.0, < 13.0 13.0

References