6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.3 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
0.001 Low
EPSS
Percentile
42.9%
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.
Author | Note |
---|---|
mdeslaur | Fixing this requires the python-xmlschema package, which is only available on hirsute. Backporting this fix to stable releases is intrusive and may introduce regressions. |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | python-pysaml2 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | python-pysaml2 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | python-pysaml2 | < any | UNKNOWN |
ubuntu | 16.04 | noarch | python-pysaml2 | < any | UNKNOWN |
github.com/IdentityPython/pysaml2/releases/tag/v6.5.0
github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9
launchpad.net/bugs/cve/CVE-2021-21238
nvd.nist.gov/vuln/detail/CVE-2021-21238
pypi.org/project/pysaml2
security-tracker.debian.org/tracker/CVE-2021-21238
www.cve.org/CVERecord?id=CVE-2021-21238
6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.3 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
0.001 Low
EPSS
Percentile
42.9%