VDB
Sign up
MEDIUM6.8

PYSEC-2014-21

Quick fix

PYSEC-2014-21 — ipython: upgrade to the fixed version with the command below.

pip install --upgrade 'ipython>=1.2.0'

Details

IPython Notebook 0.12 through 1.x before 1.2 does not validate the origin of websocket requests, which allows remote attackers to execute arbitrary code by leveraging knowledge of the kernel id and a crafted page.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ipython
Introduced in: 0.12Fixed in: 1.2.0
Fixpip install --upgrade 'ipython>=1.2.0'

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