GitHub Advisoryadvisory · PyPI
GHSA-gcv9-6737-pjqw SSRF vulnerability in jupyter-server-proxy
MEDIUM
Official page ↗
- Aliases
- CVE-2022-21697
- Ecosystem
- PyPI
- Packages
- jupyter-server-proxy
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
- Weaknesses
- CWE-918
- Reviewed
- 2022-01-25
Affected packages
• PyPI jupyter-server-proxy: < 3.2.1 → fixed in 3.2.1
Description
Impact
What kind of vulnerability is it? Server-Side Request Forgery ( SSRF )
Who is impacted? Any user deploying Jupyter Server or Notebook with jupyter-proxy-server extension enabled.
A 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.
Patches
_Has the problem been patched? What versions should users upgrade to?_
Upgrade to 3.2.1, or apply the patch https://github.com/jupyterhub/jupyter-server-proxy/compare/v3.2.0...v3.2.1.patch
For more information
If you have any questions or comments about this advisory:
• Open a topic on our forum
• Email the Jupyter security team at [email protected]
Related
Alias · CVE (1)
- CVE-2022-21697 Jupyter Server Proxy is a Jupyter notebook server extension to proxy web services. vulnerability
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
References
- https://github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-gcv9-6737-pjqw web
- https://nvd.nist.gov/vuln/detail/CVE-2022-21697 advisory
- https://github.com/jupyterhub/jupyter-server-proxy/commit/fd31930bacd12188c448c886e0783529436b99eb web
- https://github.com/jupyterhub/jupyter-server-proxy web
- https://github.com/jupyterhub/jupyter-server-proxy/compare/v3.2.0...v3.2.1.patch web
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server-proxy/PYSEC-2022-16.yaml web