CVE-2022-21697: SSRF vulnerability in jupyter-server-proxy

jupyter-server-proxy Updated 02 Oct 2025

Summary

27/01/2022
Yes i
Moderate
6.3

CVE-2022-21697: SSRF vulnerability in jupyter-server-proxy. Affects jupyter-server-proxy versions < 3.2.1. Fixed in 3.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Jupyter Server Proxy is a package that allows users to proxy web applications running on Jupyter servers. It enables users to access and interact with these applications through the Jupyter Notebook interface. The package is commonly used by users deploying Jupyter Server or Notebook with the jupyter-proxy-server extension enabled. This vulnerability specifically affects versions up to 3.2.0 of the jupyter-server-proxy package.

Vulnerability Detail

The vulnerability identified in this advisory is a Server-Side Request Forgery (SSRF) vulnerability. It arises from a lack of input validation, which allows authenticated clients to proxy requests to other hosts, bypassing the allowed_hosts check. Although authentication is required to exploit this vulnerability, it is considered low to moderate severity because authenticated clients already have permissions to make similar requests via kernel or terminal execution.

How To Fix

Minimum fixed version

3.2.1

This is the first release that contains the fix.

pip install --upgrade "jupyter-server-proxy==3.2.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the jupyter-server-proxy package is affected by a Server-Side Request Forgery (SSRF) vulnerability. Users are advised to upgrade to version 3.2.1 or apply the provided patch to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for jupyter-server-proxy →

Share this vulnerability

FAQ

Any user deploying Jupyter Server or Notebook with the jupyter-proxy-server extension enabled is impacted by this vulnerability.

The severity of this vulnerability is considered low to moderate.

The impact of this vulnerability is that authenticated clients can proxy requests to other hosts, bypassing the allowed_hosts check.

Yes, the vulnerability has been patched in version 3.2.1 of the jupyter-server-proxy package.

For more information, you can visit the Jupyter forum https://discourse.jupyter.org or email the Jupyter security team at security@ipython.org.

Related vulnerabilities

Recent vulnerabilities recorded for jupyter-server-proxy.

How To Fix

Minimum fixed version

3.2.1

This is the first release that contains the fix.

pip install --upgrade "jupyter-server-proxy==3.2.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback