PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper verification of cryptographic signature vulnerability. Users of pysaml2 that use the default CryptoBackendXmlSec1 backend and need to verify signed SAML documents are impacted. PySAML2 does not ensure that a signed SAML document is correctly signed. The default CryptoBackendXmlSec1 backend is using the xmlsec1 binary to verify the signature of signed SAML documents, but by default xmlsec1 accepts any type of key found within the given document. xmlsec1 needs to be configured explicitly to only use only _x509 certificates_ for the verification process of the SAML document signature. This is fixed in PySAML2 6.5.0.
CVSS Details
- CVSS 3.1 Base Score: 6.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade py3-saml2 | Aug 22, 2024 | Jan 21, 2021 |
| Debian | — | Upgrade python-pysaml2 | Mar 1, 2021 | Jan 21, 2021 |
| Freebsd | — | Upgrade py39-pysaml2Upgrade py38-pysaml2Upgrade py37-pysaml2Upgrade py36-pysaml2 | Jan 27, 2021 | Jan 26, 2021 |
| Ubuntu | — | Upgrade python3-pysaml2Upgrade python-pysaml2Upgrade python3-pysaml2 (Ubuntu Pro)Upgrade python-pysaml2 (Ubuntu Pro) | Sep 9, 2021 | Jan 21, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub