CVE-2018-19351
Published: 18 November 2018
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.
Priority
Status
Package | Release | Status |
---|---|---|
jupyter-notebook Launchpad, Ubuntu, Debian |
bionic |
Released
(5.2.2-1ubuntu0.1)
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(5.7.4-1)
|
|
eoan |
Ignored
(end of life)
|
|
focal |
Not vulnerable
(6.0.3-2)
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Ignored
(end of life)
|
|
impish |
Ignored
(end of life)
|
|
jammy |
Not vulnerable
(6.4.8-1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(5.7.1)
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.1 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Changed |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | None |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References
- https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491
- https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst
- https://groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY
- https://pypi.org/project/notebook/#history
- https://ubuntu.com/security/notices/USN-5585-1
- https://www.cve.org/CVERecord?id=CVE-2018-19351
- NVD
- Launchpad
- Debian