CWE
284 306 79
Advisory Published
Advisory Published
Updated

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

First published: Mon 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.files_handler_class=jupyter_server.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](https://app.intigriti.com/programs/jupyter/jupyter/detail) [sponsored by the European Commission](https://commission.europa.eu/news/european-commissions-open-source-programme-office-starts-bug-bounties-2022-01-19_en) and hosted on the [Intigriti platform](https://www.intigriti.com/).

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
pip/jupyter-server<2.7.2
2.7.2
Jupyter Server Proxy<2.7.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-40170?

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

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203