Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-hfgr-h3vc-p6c2

Опубликовано: 08 дек. 2023
Источник: github
Github: Прошло ревью
CVSS3: 4.3

Описание

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"]

Пакеты

Наименование

dockerspawner

pip
Затронутые версииВерсия исправления

>= 0.11.0, < 13.0.0

13.0.0

EPSS

Процентиль: 48%
0.00246
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-20

Связанные уязвимости

CVSS3: 8
nvd
около 2 лет назад

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.

EPSS

Процентиль: 48%
0.00246
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-20