XML Signature Wrapping Affecting pysaml2 package, versions [,5.0.0)
Threat Intelligence
EPSS
0.3% (70th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-PYSAML2-543298
- published 27 Jan 2020
- disclosed 2 Jan 2020
- credit Alexey Sintsov and Yuri Goltsev from HERE Technologies
Introduced: 2 Jan 2020
CVE-2020-5390 Open this link in a new tabHow to fix?
Upgrade pysaml2
to version 5.0.0 or higher.
Overview
pysaml2 is a Python implementation of SAML Version 2 Standard.
Affected versions of this package are vulnerable to XML Signature Wrapping. It does not check that the signature in a SAML document is enveloped and thus signature wrapping is effective. The signature information and the node/object that is signed can be in different places and thus the signature verification will succeed, but the wrong data will be used. This specifically affects the verification of assertion that have been signed.
References
CVSS Scores
version 3.1