{"schemaVersion":3,"id":"CVE-2023-40170","aliases":["GHSA-64x5-55rw-9974","PYSEC-2023-157","UBUNTU-CVE-2023-40170","DEBIAN-CVE-2023-40170","CGA-6rm6-w7hg-rmqr"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-08-28T20:01:57.156Z","modified":"2025-02-13T17:03:25.640Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":5.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":4.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":5.4,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00623,"percentile":0.48952,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00623},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00623,"percentile":0.48952}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00623,"percentile":0.48952}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"},{"id":"CWE-306","name":"Missing Authentication for Critical Function","description":"The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/306.html"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"kubeflow-pipelines-visualization-server","name":"kubeflow-pipelines-visualization-server","label":"kubeflow-pipelines-visualization-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-pipelines-visualization-server","purlType":"apk","versions":[{"text":"< 2.4.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-pipelines-visualization-server","name":"kubeflow-pipelines-visualization-server","label":"kubeflow-pipelines-visualization-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-pipelines-visualization-server","purlType":"apk","versions":[{"text":"< 2.4.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"jupyter-server","name":"jupyter-server","label":"jupyter-server","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/jupyter-server","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.14.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.14.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"jupyter-server","name":"jupyter-server","label":"jupyter-server","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jupyter-server","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"jupyter-server","product":"jupyter_server","name":"jupyter_server","label":"jupyter_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.2","eol":null,"hubHref":"/vendor/jupyter-server/jupyter_server"},{"vendor":"jupyter","product":"jupyter_server","name":"jupyter server","label":"jupyter_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.2","eol":null,"hubHref":"/vendor/jupyter/jupyter_server"},{"vendor":"PyPI","product":"jupyter-server","name":"jupyter-server","label":"jupyter-server","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyter-server","purlType":"pypi","versions":[{"text":"< 87a4927272819f0b1cae1afa4c8c86ee2da002fd","noFixRecorded":false,"fixedIn":null},{"text":"< 2.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 87a4927272819f0b1cae1afa4c8c86ee2da002fd | < 2.7.2","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974","label":"github.com/jupyter-server/jupyter_server/security/advisories/GHSA-64x5-55rw-9974","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Vendor Advisory"]},{"url":"https://github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd","label":"github.com/jupyter-server/jupyter_server/commit/87a4927272819f0b1cae1afa4c8c86ee2da002fd","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XDKQAWQN6SQTOVACZNXYKEHWQXGG4DOF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NRP7DNZYVOIA4ZB3U3ZWKTFZEPYWNGCQ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40170","label":"nvd.nist.gov/vuln/detail/CVE-2023-40170","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jupyter-server/jupyter_server","label":"github.com/jupyter-server/jupyter_server","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2023-157.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2023-157.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NRP7DNZYVOIA4ZB3U3ZWKTFZEPYWNGCQ","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XDKQAWQN6SQTOVACZNXYKEHWQXGG4DOF","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-40170","label":"ubuntu.com/security/CVE-2023-40170","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-40170","label":"www.cve.org/CVERecord?id=CVE-2023-40170","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-40170","label":"security-tracker.debian.org/tracker/CVE-2023-40170","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40170.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40170.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12012-1"],"duplicates":[],"related":["CGA-PFH5-MFCM-MJW5","CGA-WJW8-JVX7-2X3F","OPENSUSE-SU-2026:12012-1"]},"timeline":[{"kind":"published","date":"2023-08-28T20:01:57.156Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:03:25.640Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T06:32:22.801Z","stale":false,"partial":false}}