Shellfeed logo Shellfeed

CVE-2021-32797 · CRITICAL (CVSS 9.6)

Summary: JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook.

Details

JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.

Severity

CRITICAL (CVSS 9.6) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected packages

  • PyPI jupyterlab [0 – 1.2.21]
  • PyPI jupyterlab [2.0.0a0 – 2.2.10]
  • PyPI jupyterlab [2.3.0a0 – 2.3.2]
  • PyPI jupyterlab [3.0.0a0 – 3.0.17]
  • PyPI jupyterlab [3.1.0a0 – 3.1.4]
  • PyPI notebook [0 – 5.7.11]
  • PyPI notebook [6.0.0 – 6.4.1]
  • GIT github.com/jupyterlab/jupyterlab [1d1485d3a760c70eb3e91198195951004d1acd88 – 78d1fe8556ab609c77c954a7bfba4eac82a4f140] [d321e73fc290acef5d3a619c35f131e50d1b9ba1 – b50820941d76bcf28fbe7a6f3a1da2f8ee1c7d40] [63c5989cddf6c3f519f3098a0c7fe376b5be064e – 8d4c31534459fe43277c48def9ce9aa454344564] [a8fec9f08b94011aeaad72cf7fb8bb37e752bbdb – f50355cbe52c41fcbabac30dcf02f3f76836c3e0]

References