Advisory

PYSEC-2024-234

Also known as: CVE-2024-28179, GHSA-w3vc-fx9p-wp4v

Summary

The record has no summary.

Details

Jupyter Server Proxy allows users to run arbitrary external processes alongside their Jupyter notebook servers and provides authenticated web access. Prior to versions 3.2.3 and 4.1.1, Jupyter Server Proxy did not check user authentication appropriately when proxying websockets, allowing unauthenticated access to anyone who had network access to the Jupyter server endpoint. This vulnerability can allow unauthenticated remote access to any websocket endpoint set up to be accessible via Jupyter Server Proxy. In many cases, this leads to remote unauthenticated arbitrary code execution, due to how affected instances use websockets. The websocket endpoints exposed by jupyter_server itself is not affected. Projects that do not rely on websockets are also not affected. Versions 3.2.3 and 4.1.1 contain a fix for this issue.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-03-20 20:15 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

jupyter-server-proxy

PyPI · All systems

Affected

  • introduced 0, fixed 3.2.3, introduced 4.0.0, fixed 4.1.1 (ecosystem)

Fixed versions

3.2.3, 4.1.1

Fix

  • Fixed version 3.2.3
    pip install --upgrade jupyter-server-proxy==3.2.3
  • Fixed version 4.1.1
    pip install --upgrade jupyter-server-proxy==4.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences