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


Severity

0.0
medium
0
10

    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

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
Expand this section

Snyk

4.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

7.5 high
Expand this section

Red Hat

7.5 high