dockerspawner
Affected
- introduced
0.11.0, fixed13.0.0(ecosystem)
Fixed versions
13.0.0
Fix
- Fixed version
13.0.0pip install --upgrade dockerspawner==13.0.0
Advisory
Also known as: CVE-2023-48311, PYSEC-2026-1312
DockerSpawner allows any image by default
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:
c.DockerSpawner.image = "your-image"
c.DockerSpawner.allowed_images = ["your-image"]Medium Basis: The source's own band: MODERATE
0.11.0, fixed 13.0.0 (ecosystem)13.0.0
13.0.0pip install --upgrade dockerspawner==13.0.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0