Skip to content
HighVulnerability

CVE-2023-48311: DockerSpawner allows launching any pullable Docker image without allowed_images

Identifier
CVE-2023-48311
Published
Record updated
View JSON
Affected
  • dockerspawner >= 0.11.0, < 13.0.0
Fixed in
13.0.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

DockerSpawner starting with 0.11.0 lets users launch any pullable Docker image in JupyterHub deployments that do not set `DockerSpawner.allowed_images`, instead of restricting them to the single configured image as intended. The issue is tracked as CVE-2023-48311 and was addressed in commit `3ba4b665b`, included in dockerspawner release version 13.

Mitigation

Fixed in dockerspawner release version 13 (commit `3ba4b665b`). 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.