CVE-2018-19351
MEDIUM6.1EPSS 0.31%jupyter-notebook - security update
發布日:2018/11/21修改日:2026/4/28
描述
Jupyter Notebook before 5.7.1 allows XSS via an untrusted notebook because nbconvert responses are considered to have the same origin as the notebook server. In other words, nbconvert endpoints can execute JavaScript with access to the server API. In notebook/nbconvert/handlers.py, NbconvertFileHandler and NbconvertPostHandler do not set a Content Security Policy to prevent this.
受影響套件(4)
- Debian/jupyter-notebookfrom 0, < 5.7.4-1
- Debian/jupyter-notebookfrom 0, < 4.2.3-4+deb9u1
- PyPI/notebookfrom 0, < 5.7.1
- PyPI/notebookfrom 0, < 107a89fce5f413fb5728c1c5d2c7788e1fb17491 | from 0, < 5.7.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(10)
- ADVISORYhttps://github.com/advisories/GHSA-49qr-xh3w-h436
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-19351
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-19351
- PATCHhttps://github.com/jupyter/notebook
- WEBhttps://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- WEBhttps://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/notebook/PYSEC-2018-17.yaml
- WEBhttps://groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY
- WEBhttps://lists.debian.org/debian-lts-announce/2020/11/msg00033.html
- WEBhttps://pypi.org/project/notebook/#history