VDB
CVE-2021-21238
CVE-2021-21238
PUBLISHED
CVSS 6.5 MEDIUM
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.
EPSS 1.10% · 65.1th percentile
Risk Scores
CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS Score
1.10%
65.1th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | python-pysaml2 | 3.0.0-3ubuntu1.16.04.3, 3.0.0-3ubuntu1.16.04.4, 3.0.0-3ubuntu1.16.04.4+esm1 |
| Ubuntu:18.04:LTS | python-pysaml2 | 4.0.2-0ubuntu2, 4.0.2-0ubuntu3.1, 4.0.2-0ubuntu3.2 |
| Ubuntu:22.04:LTS | python-pysaml2 | 0, 7.1.0-0ubuntu2, 6.1.0-0ubuntu2 |
| Ubuntu:20.04:LTS | python-pysaml2 | 0, 4.5.0+dfsg1-0ubuntu2, 4.9.0-0ubuntu2 |
Timeline
- Jan 21, 2021 CVE Published
- Jan 21, 2021 PoC Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 26, 2021 EPSS Score
- Oct 28, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Mar 4, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 6, 2022 EPSS Score
- Jul 8, 2022 EPSS Score
- Sep 10, 2022 EPSS Score
References
- https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9 third-party-advisory
- https://pypi.org/project/pysaml2 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-21238 third-party-advisory
- https://ubuntu.com/security/CVE-2021-21238 advisory
- https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0 fix