CVE-2023-40170
MEDIUM4.6EPSS 0.72%cross-site inclusion (XSSI) of files in jupyter-server
Published: 8/29/2023Modified: 4/28/2026
Description
jupyter-server is the backend for Jupyter web applications. 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". This issue has been addressed in commit `87a49272728` which has been included in release `2.7.2`. Users are advised to upgrade. Users unable to upgrade may use the lower performance `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler`, which implements the correct checks.
Affected packages (3)
- Debian/jupyter-serverfrom 0
- PyPI/jupyter-serverfrom 0, < 2.7.2
- PyPI/jupyter-serverfrom 0, < 87a4927272819f0b1cae1afa4c8c86ee2da002fd | from 0, < 2.7.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-40170
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-40170
- PATCHhttps://github.com/jupyter-server/jupyter_server
- WEBhttps://github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd
- WEBhttps://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2023-157.yaml
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/NRP7DNZYVOIA4ZB3U3ZWKTFZEPYWNGCQ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XDKQAWQN6SQTOVACZNXYKEHWQXGG4DOF