VDB
Sign up
MEDIUM6.1

PYSEC-2017-45

Quick fix

PYSEC-2017-45 — ipython: upgrade to the fixed version with the command below.

pip install --upgrade 'ipython>=c2078a53543ed502efd968649fee1125e0eb549c'

Details

Cross-site scripting (XSS) vulnerability in IPython 3.x before 3.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving JSON error messages and the /api/contents path.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ipython
Introduced in: 0Fixed in: c2078a53543ed502efd968649fee1125e0eb549c
Fixpip install --upgrade 'ipython>=c2078a53543ed502efd968649fee1125e0eb549c'

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