Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-p6rw-44q7-3fw4

Опубликовано: 08 нояб. 2021
Источник: github
Github: Прошло ревью
CVSS4: 6.3
CVSS3: 8.7

Описание

Stored XSS in Jupyter nbdime

Impact

Improper handling of user controlled input caused a stored cross-site scripting (XSS) vulnerability. All previous versions of nbdime are affected.

Patches

Security patches will be released for each of the major versions of the nbdime packages since version 1.x of the nbdime python package.

Python

  • nbdime 1.x: Patched in v. 1.1.1
  • nbdime 2.x: Patched in v. 2.1.1
  • nbdime 3.x: Patched in v. 3.1.1

npm

  • nbdime 6.x version: Patched in 6.1.2
  • nbdime 5.x version: Patched in 5.0.2
  • nbdime-jupyterlab 1.x version: Patched in 1.0.1
  • nbdime-jupyterlab 2.x version: Patched in 2.1.1

For more information

If you have any questions or comments about this advisory email us at security@ipython.org.

Пакеты

Наименование

nbdime

pip
Затронутые версииВерсия исправления

< 1.1.1

1.1.1

Наименование

nbdime

pip
Затронутые версииВерсия исправления

>= 2.0.0, < 2.1.1

2.1.1

Наименование

nbdime

pip
Затронутые версииВерсия исправления

>= 3.0.0, < 3.1.1

3.1.1

Наименование

nbdime

npm
Затронутые версииВерсия исправления

< 5.0.2

5.0.2

Наименование

nbdime

npm
Затронутые версииВерсия исправления

>= 6.0.0, < 6.1.2

6.1.2

Наименование

nbdime-jupyterlab

npm
Затронутые версииВерсия исправления

< 1.0.1

1.0.1

Наименование

nbdime-jupyterlab

npm
Затронутые версииВерсия исправления

>= 2.0.0, < 2.1.1

2.1.1

EPSS

Процентиль: 56%
0.00337
Низкий

6.3 Medium

CVSS4

8.7 High

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 8.7
nvd
больше 4 лет назад

nbdime provides tools for diffing and merging of Jupyter Notebooks. In affected versions a stored cross-site scripting (XSS) issue exists within the Jupyter-owned nbdime project. It appears that when reading the file name and path from disk, the extension does not sanitize the string it constructs before returning it to be displayed. The diffNotebookCheckpoint function within nbdime causes this issue. When attempting to display the name of the local notebook (diffNotebookCheckpoint), nbdime appears to simply append .ipynb to the name of the input file. The NbdimeWidget is then created, and the base string is passed through to the request API function. From there, the frontend simply renders the HTML tag and anything along with it. Users are advised to patch to the most recent version of the affected product.

CVSS3: 8.7
debian
больше 4 лет назад

nbdime provides tools for diffing and merging of Jupyter Notebooks. In ...

EPSS

Процентиль: 56%
0.00337
Низкий

6.3 Medium

CVSS4

8.7 High

CVSS3

Дефекты

CWE-79