{"id":"CVE-2022-21697","aliases":["CVE-2022-21697","GHSA-gcv9-6737-pjqw","PYSEC-2022-16"],"related":[],"kind":"vulnerability","state":"published","title":"SSRF vulnerability (requires authentication)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n**What kind of vulnerability is it?**  Server-Side Request Forgery ( SSRF )\n\n**Who is impacted?** Any user deploying Jupyter Server or Notebook with jupyter-proxy-server extension enabled. \n\nA lack of input validation allowed 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.\n\n\n### Patches\n\n_Has the problem been patched? What versions should users upgrade to?_\n\nUpgrade to 3.2.1, or apply the patch https://github.com/jupyterhub/jupyter-server-proxy/compare/v3.2.0...v3.2.1.patch\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open a topic [on our forum](https://discourse.jupyter.org)\n* Email the Jupyter security team at [security@ipython.org](mailto:security@ipython.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jupyter Server Proxy es una extensión del servidor de cuadernos Jupyter para proxy de servicios web. Las versiones de Jupyter Server Proxy anteriores a la 3.2.1 son vulnerables a un ataque de tipo Server-Side Request Forgery (SSRF). Cualquier usuario que despliegue Jupyter Server o Notebook con la extensión jupyter-proxy-server habilitada está afectado. Una falta de comprobación de la entrada permite a clientes autenticados enviar peticiones a otros hosts, omitiendo la comprobación \"allowed_hosts\". Debido a que es requerida la autenticación, que ya otorga permisos para realizar las mismas peticiones por medio del kernel o de la ejecución del terminal, esto es considerado de gravedad baja a moderada. Los usuarios pueden actualizar a la versión 3.2.1 para recibir un parche o, como medida de mitigación, instalar el parche manualmente","source":"nvd"}],"published":"2022-01-25T13:55:12.000Z","modified":"2026-06-17T04:26:47.070Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 3.2.1","status":"affected"}],"vendor":"jupyterhub","product":"jupyter-server-proxy","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.1"}],"ecosystem":"PyPI","package":"jupyter-server-proxy","purl":"pkg:pypi/jupyter-server-proxy","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.2.1"}],"vendor":"jupyter","product":"jupyter_server_proxy","cpe":"cpe:2.3:a:jupyter:jupyter_server_proxy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"fd31930bacd12188c448c886e0783529436b99eb"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.1"}],"ecosystem":"PyPI","package":"jupyter-server-proxy","purl":"pkg:pypi/jupyter-server-proxy","repo":"https://github.com/jupyterhub/jupyter-server-proxy","source":"pysec"}],"references":[{"url":"https://github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-gcv9-6737-pjqw","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/commit/fd31930bacd12188c448c886e0783529436b99eb","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy/compare/v3.2.0...v3.2.1.patch","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21697","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jupyterhub/jupyter-server-proxy","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server-proxy/PYSEC-2022-16.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T14:11:36.682Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21697","url":"https://www.cve.org/CVERecord?id=CVE-2022-21697","licence":"CVE Terms of Use","modified":"2025-04-23T19:09:24.997Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gcv9-6737-pjqw","url":"https://github.com/advisories/GHSA-gcv9-6737-pjqw","licence":"CC-BY-4.0","modified":"2024-09-24T18:48:55.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21697","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21697","licence":"Public domain","modified":"2026-06-17T04:26:47.070Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-16","url":"https://osv.dev/vulnerability/PYSEC-2022-16","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:08.495Z"}],"updatedAt":"2026-11-25T22:58:09.405Z","epss":{"score":0.01132,"percentile":0.67402,"date":"2026-12-02T12:00:21.000Z"}}