GitHub Advisoryadvisory · PyPI
GHSA-64x5-55rw-9974 cross-site inclusion (XSSI) of files in jupyter-server
MEDIUM
Official page ↗
- Aliases
- CVE-2023-40170
- Ecosystem
- PyPI
- Packages
- jupyter-server
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-284, CWE-306, CWE-79
- Reviewed
- 2023-08-29
Affected packages
• PyPI jupyter-server: < 2.7.2 → fixed in 2.7.2
Description
Impact
Improper cross-site credential checks on `/files/` URLs could allow exposure of certain file contents, or accessing files when opening untrusted files via "Open image in new tab".
Patches
Jupyter Server 2.7.2
Workarounds
Use lower performance `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler`, which implements the correct checks.
References
Upstream patch for CVE-2019-9644 was not applied completely, leaving part of the vulnerability open.
Vulnerability reported by Tim Coen via the bug bounty program sponsored by the European Commission and hosted on the Intigriti platform.
Related
Alias · CVE (1)
- CVE-2023-40170 jupyter-server is the backend for Jupyter web applications. vulnerability
References
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-40170 advisory
- https://github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd web
- https://github.com/jupyter-server/jupyter_server package
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2023-157.yaml web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NRP7DNZYVOIA4ZB3U3ZWKTFZEPYWNGCQ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XDKQAWQN6SQTOVACZNXYKEHWQXGG4DOF web