Skip to content

CVE-2020-5390 Improper Verification of Cryptographic Signature in PySAML2

HighCVSS 7.5 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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 assertion that have been signed.

Upgrade path

9 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/python-pysaml2(Debian 12) < 4.5.0-7 4.5.0-7 Fixed
debian/python-pysaml2(Debian 13) < 4.5.0-7 4.5.0-7 Fixed
debian/python-pysaml2(Debian 14) < 4.5.0-7 4.5.0-7 Fixed
pypi pysaml2(PyPI) < 5.0.0; = 0.4.3; = 1.0.1; = 1.0.2 +30 more 5.0.0 Fixed
pysaml2 project pysaml2 < 5.0.0 5.0.0 Fixed
ubuntu/python-pysaml2(Ubuntu 16.04) < 3.0.0-3ubuntu1.16.04.4; = 2.4.0-0ubuntu2; = 3.0.0-3ubuntu1; = 3.0.0-3ubuntu1.16.04.1 +1 more 3.0.0-3ubuntu1.16.04.4 Fixed
ubuntu/python-pysaml2(Ubuntu 18.04) < 4.0.2-0ubuntu3.1; = 3.0.0-3ubuntu2; = 4.0.2-0ubuntu2; = 4.0.2-0ubuntu3 4.0.2-0ubuntu3.1 Fixed
Canonical Ubuntu Linux = 16.04; = 18.04; = 19.04; = 19.10 No fix listed Versions listed
debian linux = 8.0; = 9.0; = 10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi pysaml2(PyPI) < 5.0.0 5.0.0
pypi pysaml2(PyPI) = 0.4.3 No fix listed
pypi pysaml2(PyPI) = 1.0.1 No fix listed
pypi pysaml2(PyPI) = 1.0.2 No fix listed
pypi pysaml2(PyPI) = 1.0.3 No fix listed
pypi pysaml2(PyPI) = 1.1.0 No fix listed
pypi pysaml2(PyPI) = 2.0.0 No fix listed
pypi pysaml2(PyPI) = 2.1.0 No fix listed
pypi pysaml2(PyPI) = 2.2.0 No fix listed
pypi pysaml2(PyPI) = 2.3.0 No fix listed
pypi pysaml2(PyPI) = 2.4.0 No fix listed
pypi pysaml2(PyPI) = 3.0.0 No fix listed
pypi pysaml2(PyPI) = 3.0.2 No fix listed
pypi pysaml2(PyPI) = 4.0.0 No fix listed
pypi pysaml2(PyPI) = 4.0.1 No fix listed
pypi pysaml2(PyPI) = 4.0.2 No fix listed
pypi pysaml2(PyPI) = 4.0.3 No fix listed
pypi pysaml2(PyPI) = 4.0.4 No fix listed
pypi pysaml2(PyPI) = 4.0.5 No fix listed
pypi pysaml2(PyPI) = 4.0.5rc1 No fix listed
pypi pysaml2(PyPI) = 4.1.0 No fix listed
pypi pysaml2(PyPI) = 4.2.0 No fix listed
pypi pysaml2(PyPI) = 4.3.0 No fix listed
pypi pysaml2(PyPI) = 4.4.0 No fix listed
pypi pysaml2(PyPI) = 4.5.0 No fix listed
Show 29 more
ProductAffected versionsFixed in
pypi pysaml2(PyPI) = 4.6.0 No fix listed
pypi pysaml2(PyPI) = 4.6.1 No fix listed
pypi pysaml2(PyPI) = 4.6.2 No fix listed
pypi pysaml2(PyPI) = 4.6.3 No fix listed
pypi pysaml2(PyPI) = 4.6.4 No fix listed
pypi pysaml2(PyPI) = 4.6.5 No fix listed
pypi pysaml2(PyPI) = 4.7.0 No fix listed
pypi pysaml2(PyPI) = 4.8.0 No fix listed
pypi pysaml2(PyPI) = 4.9.0 No fix listed
debian/python-pysaml2(Debian:12) < 4.5.0-7 4.5.0-7
debian/python-pysaml2(Debian:13) < 4.5.0-7 4.5.0-7
debian/python-pysaml2(Debian:14) < 4.5.0-7 4.5.0-7
pysaml2 project pysaml2 < 5.0.0 5.0.0
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 19.04 No fix listed
Canonical Ubuntu Linux = 19.10 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
ubuntu/python-pysaml2(Ubuntu:16.04) < 3.0.0-3ubuntu1.16.04.4 3.0.0-3ubuntu1.16.04.4
ubuntu/python-pysaml2(Ubuntu:16.04) = 2.4.0-0ubuntu2 No fix listed
ubuntu/python-pysaml2(Ubuntu:16.04) = 3.0.0-3ubuntu1 No fix listed
ubuntu/python-pysaml2(Ubuntu:16.04) = 3.0.0-3ubuntu1.16.04.1 No fix listed
ubuntu/python-pysaml2(Ubuntu:16.04) = 3.0.0-3ubuntu1.16.04.3 No fix listed
ubuntu/python-pysaml2(Ubuntu:18.04) < 4.0.2-0ubuntu3.1 4.0.2-0ubuntu3.1
ubuntu/python-pysaml2(Ubuntu:18.04) = 3.0.0-3ubuntu2 No fix listed
ubuntu/python-pysaml2(Ubuntu:18.04) = 4.0.2-0ubuntu2 No fix listed
ubuntu/python-pysaml2(Ubuntu:18.04) = 4.0.2-0ubuntu3 No fix listed

References