Security features bypass in Jupyter Notebook - CVE-2018-21030
Published: August 30, 2022
Vulnerability identifier: #VU66861
CSH Severity: Low
CVSS v4: 2.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-21030
CWE-ID: CWE-254
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to perform XSS attacks.
The vulnerability exists due to application does not use a CSP header to treat served files as belonging to a separate origin. A remote user can upload an SVG file with XSS payload and execute arbitrary JavaScript code in victim's browser.
Affected software
Jupyter Notebook
Ubuntu
python3-notebook (Ubuntu package)
jupyter-notebook (Ubuntu package)
python-notebook (Ubuntu package)
Ubuntu
python3-notebook (Ubuntu package)
jupyter-notebook (Ubuntu package)
python-notebook (Ubuntu package)
How to mitigate CVE-2018-21030
Install updates from vendor's website.
Jupyter Notebook - update to 5.5.0
python3-notebook (Ubuntu package) - addressed in versions 5.2.2-1ubuntu0.1, 6.0.3-2ubuntu0.1, 6.4.8-1ubuntu0.1
jupyter-notebook (Ubuntu package) - addressed in versions 5.2.2-1ubuntu0.1, 6.0.3-2ubuntu0.1, 6.4.8-1ubuntu0.1
python-notebook (Ubuntu package) - update to 5.2.2-1ubuntu0.1
python3-notebook (Ubuntu package) - addressed in versions 5.2.2-1ubuntu0.1, 6.0.3-2ubuntu0.1, 6.4.8-1ubuntu0.1
jupyter-notebook (Ubuntu package) - addressed in versions 5.2.2-1ubuntu0.1, 6.0.3-2ubuntu0.1, 6.4.8-1ubuntu0.1
python-notebook (Ubuntu package) - update to 5.2.2-1ubuntu0.1