id: PYSEC-2020-94 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 assertion that have been signed. affected: - package: name: pysaml2 ecosystem: PyPI purl: pkg:pypi/pysaml2 ranges: - type: GIT repo: https://github.com/IdentityPython/pysaml2 events: - introduced: '0' - fixed: f27c7e7a7010f83380566a219fd6a290a00f2b6e - fixed: 5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25 - type: ECOSYSTEM events: - introduced: '0' - fixed: 5.0.0 versions: - 0.4.3 - 1.0.1 - 1.0.2 - 1.0.3 - 1.1.0 - 2.0.0 - 2.1.0 - 2.2.0 - 2.3.0 - 2.4.0 - 3.0.0 - 3.0.2 - 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 references: - type: WEB url: https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0 - type: FIX url: https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e - type: PACKAGE url: https://pypi.org/project/pysaml2/5.0.0/ - type: FIX url: https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25 - type: WEB url: https://github.com/IdentityPython/pysaml2/releases - type: WEB url: https://usn.ubuntu.com/4245-1/ - type: ADVISORY url: https://www.debian.org/security/2020/dsa-4630 - type: WEB url: https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html - type: ADVISORY url: https://github.com/advisories/GHSA-qf7v-8hj3-4xw7 aliases: - CVE-2020-5390 - GHSA-qf7v-8hj3-4xw7 modified: '2020-01-27T18:15:00Z' published: '2020-01-13T19:15:00Z'