MEDIUM 6.1
PYSEC-2023-157
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / jupyter-server
Introduced in:
0 Fixed in: 87a4927272819f0b1cae1afa4c8c86ee2da002fd Fix
pip install --upgrade 'jupyter-server>=87a4927272819f0b1cae1afa4c8c86ee2da002fd'