VDB
Sign up
HIGH8.1

PYSEC-2018-48

Quick fix

PYSEC-2018-48 — pysaml2: upgrade to the fixed version with the command below.

pip install --upgrade 'pysaml2>=4.5.0'

Details

pysaml2 version 4.4.0 and older accept any password when run with python optimizations enabled. This allows attackers to log in as any user without knowing their password.

Are you affected?

Enter the version of the package you're using.

Affected packages

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