XML Signature Wrapping Affecting pysaml2 package, versions [,5.0.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (73rd 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 IDSNYK-PYTHON-PYSAML2-543298
  • published27 Jan 2020
  • disclosed2 Jan 2020
  • creditAlexey Sintsov and Yuri Goltsev from HERE Technologies

Introduced: 2 Jan 2020

CVE-2020-5390  (opens in a new tab)
CWE-347  (opens in a new tab)

How 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.

CVSS Scores

version 3.1