{"id":"CVE-2022-21697","published":"2022-01-25T13:55:12Z","modified":"2025-04-23T19:09:24Z","title":"SSRF vulnerability (requires authentication)","vendor":"jupyterhub","product":"jupyter-server-proxy","tier":"tail","description":{"text":"Jupyter Server Proxy is a Jupyter notebook server extension to proxy web services. Versions of Jupyter Server Proxy prior to 3.2.1 are vulnerable to Server-Side Request Forgery (SSRF). Any user deploying Jupyter Server or Notebook with jupyter-proxy-server extension enabled is affected. A lack of input validation allows authenticated clients to proxy requests to other hosts, bypassing the `allowed_hosts` check. Because authentication is required, which already grants permissions to make the same requests via kernel or terminal execution, this is considered low to moderate severity. Users may upgrade to version 3.2.1 to receive a patch or, as a workaround, install the patch manually.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01132,"percentile":0.67229,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-gcv9-6737-pjqw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/commit/fd31930bacd12188c448c886e0783529436b99eb","tags":["x_refsource_MISC"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/compare/v3.2.0...v3.2.1.patch","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":13.45},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"jupyterhub","affectedVersions":[{"vendor":"jupyterhub","product":"jupyter-server-proxy","versions":["< 3.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:11:36.682844Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyter-server-proxy","vulnerableRanges":["<3.2.1"],"patched":["3.2.1"],"from":["GHSA-gcv9-6737-pjqw","PYSEC-2022-16"],"provenance":"source"}],"summary":{"text":"The jupyter-server-proxy component of JupyterHub's Jupyter Server Proxy extension, used with Jupyter Server or Notebook, contains a server-side request forgery flaw in versions prior to 3.2.1 caused by insufficient input validation. An authenticated client can exploit it over the network to make the proxy send requests to other hosts, bypassing the allowed_hosts check, which applies to deployments where the jupyter-proxy-server extension is enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:26Z"},"euvd":{"id":"EUVD-2022-0130","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jupyterhub-jupyter-server-proxy-cve-2022-21697","children":[{"from":"CVE-2022-21697","to":"CVE-2024-28179","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["jupyter_server_proxy/handlers.py"],"commits":["https://github.com/jupyterhub/jupyter-server-proxy/commit/fd31930bacd12188c448c886e0783529436b99eb","https://github.com/jupyterhub/jupyter-server-proxy/commit/764e499f61a87641916a7a427d4c4b1ac3f321a9","https://github.com/jupyterhub/jupyter-server-proxy/commit/bead903b7c0354b6efd8b4cde94b89afab653e03"],"basis":"rarely changed file"}]},{"from":"CVE-2022-21697","to":"CVE-2024-35225","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["jupyter_server_proxy/handlers.py"],"commits":["https://github.com/jupyterhub/jupyter-server-proxy/commit/fd31930bacd12188c448c886e0783529436b99eb","https://github.com/jupyterhub/jupyter-server-proxy/commit/7abc9dc5bbb0b4b440548a5375261b8b8192fc22","https://github.com/jupyterhub/jupyter-server-proxy/commit/ff78128087e73fb9d0909e1366f8bf051e8ea878"],"basis":"shared function","functions":["proxy"]}]}]}}