logo

CVE-2023-48311 dockerspawner

Package

Manager: pip
Name: dockerspawner
Vulnerable Version: >=0.11.0 <13.0.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00246 pctl0.47777

Details

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

Metadata

Created: 2023-12-08T14:42:55Z
Modified: 2023-12-13T21:34:38Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-hfgr-h3vc-p6c2/GHSA-hfgr-h3vc-p6c2.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-hfgr-h3vc-p6c2
Finding: F184
Auto approve: 1