~ / search / GHSA-hfgr-h3vc-p6c2

GHSA-hfgr-h3vc-p6c2

DockerSpawner allows any image by default

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-48311

Packages

EcosystemPackageAffectedFixed in
PyPI dockerspawner >= 0.11.0, < 13.0.0 13.0.0

Details

As written in the advisory (Markdown source, shown as plain text).

### 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: ```python c.DockerSpawner.image = "your-image" c.DockerSpawner.allowed_images = ["your-image"] ```

References

External links from the advisory. They lead to third-party sites.