Vulnerability in Identitypython Pysaml2
CVE-2021-21238
PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper verification of cryptographic signature vulnerability. All users of pysaml2 that need to validate signed SAML documents are impacted. The vulnerability is a variant of XML Signature wrapping because it did not validate the SAML document against an XML schema. This allowed invalid XML documents to be processed and such a document can trick pysaml2 with a wrapped signature. This is fixed in PySAML2 6.5.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.011 (63.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Identitypython Pysaml2 — versions < 6.5.0
- Pysaml2 Project
Weakness classification (CWE)
References
- pypi.org/project/pysaml2 (Product, Third Party Advisory)
- github.com/IdentityPython/pysaml2/releases/tag/v6.5.0 (Third Party Advisory)
- github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9 (Third Party Advisory)
- github.com/IdentityPython/pysaml2/commit/1d8fd268f5bf887480a403a7a5ef8f048157cc… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-21238?
- CVE-2021-21238 is a medium-severity vulnerability in Identitypython Pysaml2, classified under Improper Verification of Cryptographic Signature. CVSS score: 6.5/10. Published 2021-01-21.
- How severe is CVE-2021-21238?
- Medium severity. CVSS v3 base score is 6.5 out of 10.