CVEfocus › CVE database › CVE-2023-40170

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

CVSS 4.6 MediumEPSS 0.7% (higher than 50% of CVEs)Published 2023-08-28Updated 2025-02-13Assigner: GitHub_M

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.

CWE-284CWE-306

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
2Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyter-serverFix pendingUBUNTU-CVE-2023-40170
Ubuntu 26.04jupyter-serverUnder investigationUBUNTU-CVE-2023-40170
Ubuntu 25.10jupyter-serverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-40170
Ubuntu 24.04jupyter-serverUnder investigationUBUNTU-CVE-2023-40170
Ubuntu 22.04jupyter-serverUnder investigationUBUNTU-CVE-2023-40170
Debian 14jupyter-serverFixed2.14.2-1DEBIAN-CVE-2023-40170
Debian 13jupyter-serverFixed2.14.2-1DEBIAN-CVE-2023-40170
Debian 12jupyter-serverFix pendingDEBIAN-CVE-2023-40170
Alpine Linux 3.24jupyter-serverFixed2.7.3-r0ALPINE-CVE-2023-40170
Alpine Linux 3.23jupyter-serverFixed2.7.3-r0ALPINE-CVE-2023-40170
Alpine Linux 3.22jupyter-serverFixed2.7.3-r0ALPINE-CVE-2023-40170
Alpine Linux 3.21jupyter-serverFixed2.7.3-r0ALPINE-CVE-2023-40170
Alpine Linux 3.20jupyter-serverFixed2.7.3-r0ALPINE-CVE-2023-40170
Alpine Linux 3.19jupyter-serverFixed2.7.3-r0ALPINE-CVE-2023-40170
PyPI libraryjupyter-serverFixed2.7.2PYSEC-2023-157

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.