Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-28179 EUVD-2024-1020GHSA-w3vc-fx9p-wp4vPYSEC-2024-234

Jupyter Server Proxy's Websocket Proxying does not require authentication

Published Mar 20, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
jupyterhub jupyter-server-proxy >= 4.0.0, < 4.1.1, < 3.2.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI jupyter-server-proxy >= 4.0.0, < 4.1.1 4.1.1 GHSA-w3vc-fx9p-wp4v
PyPI jupyter-server-proxy < 3.2.3 3.2.3 GHSA-w3vc-fx9p-wp4v
PyPI jupyter-server-proxy < 3.2.3 · >= 4.0.0, < 4.1.1 3.2.3, 4.1.1 PYSEC-2024-234

References