Vulnerability · Published Jan 13, 2020 · Assigned by mitre
CVE-2020-5390
High 7.5
In plain English
A high-severity security flaw in the python-pysaml2 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-pysaml2 | 4.5.0-7 | DEBIAN-CVE-2020-5390 |
| Debian:13 | python-pysaml2 | 4.5.0-7 | DEBIAN-CVE-2020-5390 |
| Debian:14 | python-pysaml2 | 4.5.0-7 | DEBIAN-CVE-2020-5390 |
| PyPI | pysaml2 | 5.0.0 | GHSA-qf7v-8hj3-4xw7 |
| PyPI | pysaml2 | 5.0.0 | PYSEC-2020-94 |
Affected products (as reported)
References
- https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25 x_refsource_CONFIRM
- https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e x_refsource_CONFIRM
- https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0 x_refsource_CONFIRM
- https://github.com/IdentityPython/pysaml2/releases x_refsource_CONFIRM
- https://pypi.org/project/pysaml2/5.0.0/ x_refsource_MISC
- USN-4245-1 vendor-advisory, x_refsource_UBUNTU
- DSA-4630 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20200226 [SECURITY] [DLA 2119-1] python-pysaml2 security update mailing-list, x_refsource_MLIST