VDB
Sign up
MEDIUM5.3

PYSEC-2017-26

Quick fix

PYSEC-2017-26 — pysaml2: upgrade to the fixed version with the command below.

pip install --upgrade 'pysaml2>=4.6.0'

Details

Python package pysaml2 version 4.4.0 and earlier reuses the initialization vector across encryptions in the IDP server, resulting in weak encryption of data.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pysaml2
Introduced in: 0Fixed in: 4.6.0
Fixpip install --upgrade 'pysaml2>=4.6.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/pysaml2"]}'