Jupyter Server Proxy's Websocket Proxying does not require authentication
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jupyter-server-proxyPyPI | >= 4.0.0, < 4.1.1 | 4.1.1 |
jupyter-server-proxyPyPI | < 3.2.3 | 3.2.3 |
Affected products
2- Range: >= 4.0.0, < 4.1.1
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-w3vc-fx9p-wp4vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-28179ghsaADVISORY
- github.com/jupyterhub/jupyter-server-proxy/blob/9b624c4d9507176334b46a85d94a4aa3bcd29bed/jupyter_server_proxy/handlers.pyghsax_refsource_MISCWEB
- github.com/jupyterhub/jupyter-server-proxy/commit/764e499f61a87641916a7a427d4c4b1ac3f321a9ghsax_refsource_MISCWEB
- github.com/jupyterhub/jupyter-server-proxy/commit/bead903b7c0354b6efd8b4cde94b89afab653e03ghsax_refsource_MISCWEB
- github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-w3vc-fx9p-wp4vghsax_refsource_CONFIRMWEB
- github.com/pypa/advisory-database/tree/main/vulns/jupyter-server-proxy/PYSEC-2024-234.yamlghsaWEB
News mentions
0No linked articles in our index yet.