CVE-2023-40170

cross-site inclusion (XSSI) of files in jupyter-server

State
Published
Severity
4.6 Medium
Published
Aug 28, 2023
Updated
Feb 13, 2025
Reserved
Aug 9, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.6 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-284 Improper Access Control
  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
jupyter_serverjupyter-server
  • < 2.7.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.