CVE-2023-39968 Open Redirect Vulnerability in jupyter-server

Medium 4.3 Published Updated

Attackers can redirect logged-in Jupyter users to malicious sites via crafted login links, bypassing URL restrictions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-39968?

CVE-2023-39968 is a medium-severity vulnerability in jupyter-server jupyter_server, published on 28 Aug 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

jupyter-server is the backend for Jupyter web applications. Open Redirect Vulnerability. Maliciously crafted login links to known Jupyter Servers can cause successful login or an already logged-in session to be redirected to arbitrary sites, which should be restricted to Jupyter Server-served URLs. This issue has been addressed in commit `29036259` which is included in release 2.7.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-601

Which versions are affected by CVE-2023-39968?

3 open source packages ship an affected version, including jupyter-server. It affects 1 product.

PackageAffectedFixed in
jupyter-server PyPIAll versions2.7.2
jupyter-server PyPIAll versions2.7.2
jupyter-server PyPIAll versions2.7.2

Products include Jupyter Jupyter Server.

How do I fix CVE-2023-39968?

Upgrade jupyter-server to 2.7.2 or later.

Is CVE-2023-39968 being exploited?

There is no known exploitation of CVE-2023-39968 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-39968, GHSA-r726-vmfq-j9j3, PYSEC-2023-155, UBUNTU-CVE-2023-39968.

Is CVE-2023-39968 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free