{"id":"CVE-2020-5390","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.","aliases":["GHSA-qf7v-8hj3-4xw7","PYSEC-2020-94"],"modified":"2026-10-24T10:49:57.168172272Z","published":"2020-01-13T19:15:12.413Z","related":["SUSE-RU-2020:2072-1","SUSE-SU-2020:1901-1","SUSE-SU-2020:3897-1","openSUSE-SU-2024:11258-1","openSUSE-SU-2024:14156-1","openSUSE-SU-2026:11524-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"],"extracted_events":[{"range":[{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"19.04"},{"last_affected":"19.04"},{"introduced":"19.10"},{"last_affected":"19.10"}],"source":"CPE_STRING"}],"vendor_product":"canonical:ubuntu_linux"},{"extracted_events":[{"range":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING"}],"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"https://github.com/IdentityPython/pysaml2/releases"},{"type":"ADVISORY","url":"https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4245-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4630"},{"type":"FIX","url":"https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25"},{"type":"FIX","url":"https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e"},{"type":"PACKAGE","url":"https://pypi.org/project/pysaml2/5.0.0/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/IdentityPython/pysaml2","events":[{"introduced":"0"},{"fixed":"f27c7e7a7010f83380566a219fd6a290a00f2b6e"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"5.0.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:pysaml2_project:pysaml2:*:*:*:*:*:*:*:*"}]}}],"versions":["v4.9.0","v4.8.0","v4.7.0","v4.6.5","v4.6.4","v4.6.3","v4.6.2","v4.6.1","v4.6.0","v4.5.0","v4.3.0","v4.2.0","v4.1.0","4.0.0","v3.0.2","3.0.0","2.4.0","2.3.0","v2.2.0","2.1.0","2.0.0","v1.0.3","0.4.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-5390.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/identitypython/pysaml2","events":[{"introduced":"0"},{"fixed":"f27c7e7a7010f83380566a219fd6a290a00f2b6e"},{"fixed":"5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"5.0.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:pysaml2_project:pysaml2:*:*:*:*:*:*:*:*"},{"range":[{"fixed":"5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"f27c7e7a7010f83380566a219fd6a290a00f2b6e"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"f27c7e7a7010f83380566a219fd6a290a00f2b6e"}],"source":"REFERENCES_TAG","original_tag":"v5.0.0"}]}}],"versions":["v4.9.0","v4.8.0","v4.7.0","v4.6.5","v4.6.4","v4.6.3","v4.6.2","v4.6.1","v4.6.0","v4.5.0","v4.3.0","v4.2.0","v4.1.0","4.0.0","v3.0.2","3.0.0","2.4.0","2.3.0","v2.2.0","2.1.0","2.0.0","v1.0.3","0.4.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-5390.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}