7.5high
Improper Verification of Cryptographic Signature in PySAML2
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.23% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-qf7v-8hj3-4xw7PYSEC-2020-94
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pysaml2 (PyPI) | before 5.0.0, before f27c7e7a7010f83380566a219fd6a290a00f2b6e, before 5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25 | GitHub Advisory Database, PyPA Advisory Database |
| pysaml2_project pysaml2 | before 5.0.0 | NVD |
| canonical ubuntu_linux | 16.04, 18.04, 19.04, 19.10 | NVD |
| debian debian_linux | 8.0, 9.0, 10.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
PySAML2 versiones anteriores a la versión 5.0.0 no comprueba que la firma en un documento SAML esté envuelta y, por lo tanto, el empaquetado de la firma es efectivo, es decir, está afectado por XML Signature Wrapping (XSW). La información de la firma y el nodo u objeto que está firmado puede estar en diferentes lugares y, por lo tanto, la comprobación de la firma tendrá éxito, pero serán usados los datos incorrectos. Esto afecta específicamente la comprobación de las afirmaciones que se han firmado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-5390 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qf7v-8hj3-4xw7 changed 2024-10-23 | CC-BY-4.0 |
| NVD | CVE-2020-5390 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-94 changed 2023-11-08 | CC-BY-4.0 |