CVE-2022-21697
Description
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.
How to fix
- jupyter jupyter_server_proxy3.2.1 or later
- jupyter-server-proxy3.2.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jupyter jupyter_server_proxy | v < 3.2.1 | 3.2.1 |
| jupyter-server-proxyPyPI | v < 3.2.1 | 3.2.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.