Skip to content
MediumVulnerability

CVE-2023-40170: jupyter-server improper cross-site credential checks on /files/ URLs

Identifier
CVE-2023-40170
Published
Record updated
View JSON
Affected
  • jupyter-server < 2.7.2
Fixed in
2.7.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

jupyter-server, the backend for Jupyter web applications, contains improper cross-site credential checks on `/files/` URLs. This could expose certain file contents, or allow access to files when opening untrusted files via "Open image in new tab".

Mitigation

Fixed in commit `87a49272728`, included in release `2.7.2`. Users are advised to upgrade. Users unable to upgrade may use `--ContentsManager.files_handler_class=jupyter_server.files.handlers.FilesHandler`, which implements the correct checks, at lower performance.