CVE-2023-40170: cross-site inclusion (XSSI) of files in jupyter-server

Published Aug 28, 2023
·
Updated

Impact

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".

Patches

Jupyter Server 2.7.2

Workarounds

Use lower performance --ContentsManager.fileshandlerclass=jupyterserver.files.handlers.FilesHandler, which implements the correct checks.

References

Upstream patch for CVE-2019-9644 was not applied completely, leaving part of the vulnerability open.

Vulnerability reported by Tim Coen via the bug bounty program sponsored by the European Commission and hosted on the Intigriti platform.

Other sources

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.fileshandlerclass=jupyterserver.files.handlers.FilesHandler, which implements the correct checks.

Affected Software

2 affected componentsFixes available
pip/jupyter-server<2.7.2
2.7.2
jupyter Jupyter Server<2.7.2

Event History

Aug 28, 2023
CVE Published
via MITRE·08:01 PM
Data Sourced
via MITRE·08:01 PM
DescriptionSeverityWeakness
Aug 29, 2023
Advisory Published
11:34 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-40170?

The severity of CVE-2023-40170 is medium with a CVSS score of 6.1.

2

How can CVE-2023-40170 impact my system?

CVE-2023-40170 could allow exposure of certain file contents or unauthorized access to files when opening untrusted files via "Open image in new tab".

3

Which software versions are affected by CVE-2023-40170?

Versions up to and excluding 2.7.2 of Jupyter Server and Jupyter Jupyter Server are affected by CVE-2023-40170.

4

How can I fix CVE-2023-40170?

To fix CVE-2023-40170, update Jupyter Server to version 2.7.2 or apply the available patch.

5

Are there any workarounds for CVE-2023-40170?

A workaround for CVE-2023-40170 is to use the lower performance `--ContentsManager.files_handler` option.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203