{"id":"USN-5066-1","summary":"python-pysaml2 vulnerability","details":"Brian Wolff discovered that PySAML2 incorrectly validated cryptographic\nsignatures. A remote attacker could possibly use this issue to alter SAML\ndocuments.\n","modified":"2026-02-10T04:42:18Z","published":"2021-09-08T11:28:31Z","related":["UBUNTU-CVE-2021-21239"],"upstream":["CVE-2021-21239","UBUNTU-CVE-2021-21239"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5066-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-21239"}],"affected":[{"package":{"name":"python-pysaml2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/python-pysaml2@4.0.2-0ubuntu3.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.2-0ubuntu3.2"}]}],"versions":["3.0.0-3ubuntu2","4.0.2-0ubuntu2","4.0.2-0ubuntu3","4.0.2-0ubuntu3.1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-pysaml2","binary_version":"4.0.2-0ubuntu3.2"},{"binary_name":"python3-pysaml2","binary_version":"4.0.2-0ubuntu3.2"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2021-21239","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5066-1.json"}},{"package":{"name":"python-pysaml2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/python-pysaml2@4.9.0-0ubuntu3.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.0-0ubuntu3.1"}]}],"versions":["4.5.0+dfsg1-0ubuntu2","4.9.0-0ubuntu1","4.9.0-0ubuntu2","4.9.0-0ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-pysaml2","binary_version":"4.9.0-0ubuntu3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5066-1.json","cves_map":{"cves":[{"id":"CVE-2021-21239","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"}}}],"schema_version":"1.7.3"}