PYSEC-2018-17
Vulnerability from pysec - Published: 2018-11-18 17:29 - Updated: 2021-06-10 06:51
VLAI?
Details
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.
Impacted products
| Name | purl | notebook | pkg:pypi/notebook |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "notebook",
"purl": "pkg:pypi/notebook"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "107a89fce5f413fb5728c1c5d2c7788e1fb17491"
}
],
"repo": "https://github.com/jupyter/notebook",
"type": "GIT"
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.7.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0.0",
"4.0.0",
"4.0.1",
"4.0.2",
"4.0.4",
"4.0.5",
"4.0.6",
"4.1.0",
"4.2.0",
"4.2.0b1",
"4.2.1",
"4.2.2",
"4.2.3",
"4.3.0",
"4.3.1",
"4.3.2",
"4.4.0",
"4.4.1",
"5.0.0",
"5.0.0b1",
"5.0.0b2",
"5.0.0rc1",
"5.0.0rc2",
"5.1.0",
"5.1.0rc1",
"5.1.0rc2",
"5.1.0rc3",
"5.2.0",
"5.2.0rc1",
"5.2.1",
"5.2.1rc1",
"5.2.2",
"5.3.0",
"5.3.0rc1",
"5.3.1",
"5.4.0",
"5.4.1",
"5.5.0",
"5.5.0rc1",
"5.6.0",
"5.6.0rc1",
"5.7.0"
]
}
],
"aliases": [
"CVE-2018-19351",
"GHSA-49qr-xh3w-h436"
],
"details": "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.",
"id": "PYSEC-2018-17",
"modified": "2021-06-10T06:51:21.489049Z",
"published": "2018-11-18T17:29:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://pypi.org/project/notebook/#history"
},
{
"type": "WEB",
"url": "https://groups.google.com/forum/#!topic/jupyter/hWzu2BSsplY"
},
{
"type": "FIX",
"url": "https://github.com/jupyter/notebook/commit/107a89fce5f413fb5728c1c5d2c7788e1fb17491"
},
{
"type": "WEB",
"url": "https://github.com/jupyter/notebook/blob/master/docs/source/changelog.rst"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2020/11/msg00033.html"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-49qr-xh3w-h436"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…