CVE-2023-48311 Any image allowed by default
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626 patch
- github.com product
- github.com vendor-advisory
- pypi.org product