CVE-2023-40170
MediumCVSS 4.6Exploitation Probability (EPSS)
Low risk41th percentile - higher than 41% of all known CVEs
Summary
In jupyter-server, improper cross-site credential checks on `/files/` URLs could allow exposure of certain file contents or accessing files when opening untrusted files. This issue has been addressed in version `2.7.2`.
Risk Assessment
Organizations may be exposed to unauthorized access to sensitive data, potentially leading to serious security incidents.
Recommendation
It is recommended to upgrade to version `2.7.2`. Users unable to upgrade should use the `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler` option for correct checks.
Original NVD description (English source)
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.

