PYSEC-2024-234

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/jupyter-server-proxy/PYSEC-2024-234.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2024-234
Aliases
Related
Published
2024-03-20T20:15:08Z
Modified
2025-02-21T18:57:29.448316Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

PyPI / jupyter-server-proxy

Package

Name
jupyter-server-proxy
View open source insights on deps.dev
Purl
pkg:pypi/jupyter-server-proxy

Affected ranges

Type
GIT
Repo
https://github.com/jupyterhub/jupyter-server-proxy
Events
Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.3
Introduced
4.0.0
Fixed
4.1.1

Affected versions

1.*

1.0b1
1.0b2
1.0b4
1.0b5
1.0b6
1.0b7
1.0b8
1.0b9
1.0
1.0.1
1.1.0
1.2.0
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.5.2
1.5.3
1.6.0

3.*

3.0.0rc1
3.0.0
3.0.1
3.0.2
3.1.0
3.2.0
3.2.1
3.2.2

4.*

4.0.0
4.1.0