MEDIUM6.1
PYSEC-2023-157
Quick fix
PYSEC-2023-157 — jupyter-server: upgrade to the fixed version with the command below.
pip install --upgrade 'jupyter-server>=87a4927272819f0b1cae1afa4c8c86ee2da002fd'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:
0Fixed in: 87a4927272819f0b1cae1afa4c8c86ee2da002fdFix
pip install --upgrade 'jupyter-server>=87a4927272819f0b1cae1afa4c8c86ee2da002fd'