VDB
Sign up
CRITICAL9.6

PYSEC-2021-130

Quick fix

PYSEC-2021-130 — jupyterlab: upgrade to the fixed version with the command below.

pip install --upgrade 'jupyterlab>=504825938c0abfa2fb8ff8d529308830a5ae42ed'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/jupyterlab
Introduced in: 0Fixed in: 504825938c0abfa2fb8ff8d529308830a5ae42ed
Fixpip install --upgrade 'jupyterlab>=504825938c0abfa2fb8ff8d529308830a5ae42ed'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/jupyterlab"]}'