{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-48311","id":"CVE-2023-48311","title":"Any image allowed by default","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`","descriptionLong":"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.","published":"2023-12-08T20:08:31.736Z","updated":"2026-10-28T02:31:09.503695983Z","reserved":"2023-11-14T17:41:15.573Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"}],"rating":"high","products":["jupyterhub dockerspawner"],"affectedProducts":[{"vendor":"jupyterhub","product":"dockerspawner","defaultStatus":null,"versions":[{"version":">= 0.11.0, < 13.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"dockerspawner","purl":"pkg:pypi/dockerspawner","ranges":[">=0.11.0 <13.0.0"],"fixed":["13.0.0"],"advisory":"GHSA-hfgr-h3vc-p6c2"}],"cwes":["CWE-20"],"aliases":["GHSA-hfgr-h3vc-p6c2","PYSEC-2026-1312"],"references":[{"url":"https://github.com/jupyterhub/dockerspawner/security/advisories/GHSA-hfgr-h3vc-p6c2","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/jupyterhub/dockerspawner/commit/3ba4b665b6ca6027ea7a032d7ca3eab977574626","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/48xxx/CVE-2023-48311.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48311","tags":["advisory"]},{"url":"https://github.com/jupyterhub/dockerspawner","tags":["package"]},{"url":"https://pypi.org/project/dockerspawner","tags":["package"]},{"url":"https://github.com/advisories/GHSA-hfgr-h3vc-p6c2","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00638,"epssPercentile":0.51403,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-48311","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48311","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-48311","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hfgr-h3vc-p6c2","ok":true,"note":"GHSA-hfgr-h3vc-p6c2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-48311","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}