Vulnerabilities · 2022 · Jupyter
CVE-2022-21697
Jupyter Server Proxy vulnerability
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.
Affected products
Jupyter Server Proxy. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jupyter Server Proxy runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jupyterhub/jupyter-server-proxy/commit/fd31930bacd12188c448c886e0783529436b99eb · Patch
- github.com/jupyterhub/jupyter-server-proxy/compare/v3.2.0...v3.2.1.patch · Patch
- github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-gcv9-6737-pjqw · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-21697
- github.com/pypa/advisory-database/tree/main/vulns/jupyter-server-proxy/PYSEC-2022-16.yaml
- github.com/advisories/GHSA-gcv9-6737-pjqw
- nvd.nist.gov/vuln/detail/CVE-2022-21697
- cve.org/CVERecord?id=CVE-2022-21697
More vulnerabilities in Jupyter products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.