VDB
Sign up
MEDIUM5.4

PYSEC-2019-159

Quick fix

PYSEC-2019-159 — notebook: upgrade to the fixed version with the command below.

pip install --upgrade 'notebook>=5.7.6'

Details

An XSSI (cross-site inclusion) vulnerability in Jupyter Notebook before 5.7.6 allows inclusion of resources on malicious pages when visited by users who are authenticated with a Jupyter server. Access to the content of resources has been demonstrated with Internet Explorer through capturing of error messages, though not reproduced with other browsers. This occurs because Internet Explorer's error messages can include the content of any invalid JavaScript that was encountered.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/notebook
Introduced in: 0Fixed in: 5.7.6
Fixpip install --upgrade 'notebook>=5.7.6'

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/notebook"]}'