DockerSpawner allows any image by default
Moderate severity
GitHub Reviewed
Published
Dec 8, 2023
in
jupyterhub/dockerspawner
•
Updated Dec 13, 2023
Description
Published to the GitHub Advisory Database
Dec 8, 2023
Reviewed
Dec 8, 2023
Published by the National Vulnerability Database
Dec 8, 2023
Last updated
Dec 13, 2023
Impact
Users of JupyterHub deployments running DockerSpawner starting with 0.11.0 without specifying
DockerSpawner.allowed_images
configuration allow users to launch any pullable image, instead of restricting to only the single configured image, as intended.Patches
Upgrade to DockerSpawner 13.
Workarounds
Explicitly setting
DockerSpawner.allowed_images
to a non-empty list containing only the default image will result in the intended default behavior:References