{"cve":"CVE-2020-5390","nvd":{"published":"2020-01-13T19:15:12.413","modified":"2026-06-17T03:21:23.920","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-347"],"references":["https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25","https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e","https://github.com/IdentityPython/pysaml2/releases","https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0","https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html"],"products":["canonical:ubuntu_linux","debian:debian_linux","pysaml2_project:pysaml2"],"source":"nvd","synced_at":"2026-10-19T21:01:01.339895972+00:00"},"epss":{"cve":"CVE-2020-5390","score":0.01234,"percentile":0.69027,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qf7v-8hj3-4xw7","url":"https://osv.dev/vulnerability/GHSA-qf7v-8hj3-4xw7","summary":"Improper Verification of Cryptographic Signature in PySAML2","modified":"2024-10-23T16:03:43.504436Z","packages":[{"ecosystem":"PyPI","name":"pysaml2","purl":"pkg:pypi/pysaml2","ranges":["<5.0.0"],"fixed":["5.0.0"]}]},{"id":"PYSEC-2020-94","url":"https://osv.dev/vulnerability/PYSEC-2020-94","summary":"","modified":"2023-11-08T04:03:54.859289Z","packages":[{"ecosystem":"PyPI","name":"pysaml2","purl":"pkg:pypi/pysaml2","ranges":["<5.0.0"],"fixed":["5.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}