GHSA-qf7v-8hj3-4xw7

Suggest an improvement
Source
https://github.com/advisories/GHSA-qf7v-8hj3-4xw7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-qf7v-8hj3-4xw7/GHSA-qf7v-8hj3-4xw7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qf7v-8hj3-4xw7
Aliases
Published
2020-05-06T19:41:29Z
Modified
2024-02-18T05:32:21.556342Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Improper Verification of Cryptographic Signature in PySAML2
Details

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.

References

Affected packages

PyPI / pysaml2

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.0

Affected versions

0.*

0.4.3

1.*

1.0.1
1.0.2
1.0.3
1.1.0

2.*

2.0.0
2.1.0
2.2.0
2.3.0
2.4.0

3.*

3.0.0
3.0.2

4.*

4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5rc1
4.0.5
4.1.0
4.2.0
4.3.0
4.4.0
4.5.0
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.6.5
4.7.0
4.8.0
4.9.0