NetSight
high7.5

CVE-2020-5390

Improper Verification of Cryptographic Signature in PySAML2

Impact

PySAML2 before 5.0.0 does not check that the signature in a SAML document is enveloped and thus signature wrapping is effective, i.e., it is affected by XML Signature Wrapping (XSW). 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 assertions that have been signed.

Affected packages

EcosystemPackageAffectedFixed in
pippysaml2< 5.0.05.0.0

Affected products

VendorProductAffected versions
Pysaml2 ProjectPysaml2
before 5.0.0
CanonicalUbuntu Linux
Versions 16.04, 18.04, 19.04, 19.10
DebianDebian Linux
Versions 8.0, 9.0, 10.0

Weakness classification

References