{"url":"http://public2.vulnerablecode.io/api/packages/9742?format=json","purl":"pkg:pypi/pysaml2@4.0.0","type":"pypi","namespace":"","name":"pysaml2","version":"4.0.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"6.5.0","latest_non_vulnerable_version":"6.5.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/3900?format=json","vulnerability_id":"VCID-18jn-t4rf-13f1","summary":"signature forgery","references":[{"reference_url":"https://github.com/IdentityPython/pysaml2/commit/1d8fd268f5bf887480a403a7a5ef8f048157cc14","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/commit/1d8fd268f5bf887480a403a7a5ef8f048157cc14"},{"reference_url":"https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0"},{"reference_url":"https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9"},{"reference_url":"https://pypi.org/project/pysaml2","reference_id":"","reference_type":"","scores":[],"url":"https://pypi.org/project/pysaml2"},{"reference_url":"https://security.archlinux.org/AVG-1487","reference_id":"AVG-1487","reference_type":"","scores":[{"value":"Critical","scoring_system":"archlinux","scoring_elements":""}],"url":"https://security.archlinux.org/AVG-1487"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/19823?format=json","purl":"pkg:pypi/pysaml2@6.5.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@6.5.0"}],"aliases":["CVE-2021-21238","GHSA-f4g9-h89h-jgv9","PYSEC-2021-48"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-18jn-t4rf-13f1"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35043?format=json","vulnerability_id":"VCID-3vdt-bzym-t7f1","summary":"XML External Entity (XXE) vulnerability in PySAML2 4.4.0 and earlier allows remote attackers to read arbitrary files via a crafted SAML XML request or response.","references":[{"reference_url":"https://access.redhat.com/errata/RHSA-2017:0936","reference_id":"","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2017:0936"},{"reference_url":"https://access.redhat.com/errata/RHSA-2017:0937","reference_id":"","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2017:0937"},{"reference_url":"https://access.redhat.com/errata/RHSA-2017:0938","reference_id":"","reference_type":"","scores":[],"url":"https://access.redhat.com/errata/RHSA-2017:0938"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850716","reference_id":"","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850716"},{"reference_url":"https://github.com/advisories/GHSA-c2vx-49jm-h3f6","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-c2vx-49jm-h3f6"},{"reference_url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2017-25.yaml","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2017-25.yaml"},{"reference_url":"https://github.com/rohe/pysaml2","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2"},{"reference_url":"https://github.com/rohe/pysaml2/commit/6e09a25d9b4b7aa7a506853210a9a14100b8bc9b","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/commit/6e09a25d9b4b7aa7a506853210a9a14100b8bc9b"},{"reference_url":"https://github.com/rohe/pysaml2/issues/366","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/issues/366"},{"reference_url":"https://github.com/rohe/pysaml2/pull/379","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/pull/379"},{"reference_url":"http://www.debian.org/security/2017/dsa-3759","reference_id":"","reference_type":"","scores":[],"url":"http://www.debian.org/security/2017/dsa-3759"},{"reference_url":"http://www.openwall.com/lists/oss-security/2017/01/19/5","reference_id":"","reference_type":"","scores":[],"url":"http://www.openwall.com/lists/oss-security/2017/01/19/5"},{"reference_url":"http://www.securityfocus.com/bid/97692","reference_id":"","reference_type":"","scores":[],"url":"http://www.securityfocus.com/bid/97692"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10149","reference_id":"CVE-2016-10149","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10149"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/9753?format=json","purl":"pkg:pypi/pysaml2@4.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18jn-t4rf-13f1"},{"vulnerability":"VCID-azuf-r76r-gkaa"},{"vulnerability":"VCID-rp35-dypx-8ubn"},{"vulnerability":"VCID-rydh-2y4u-u3ef"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@4.5.0"}],"aliases":["CVE-2016-10149","GHSA-c2vx-49jm-h3f6","PYSEC-2017-25"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-3vdt-bzym-t7f1"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35031?format=json","vulnerability_id":"VCID-6d5c-jdcx-pbeg","summary":"PySAML2 allows remote attackers to conduct XML external entity (XXE) attacks via a crafted SAML XML request or response.","references":[{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850716","reference_id":"","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850716"},{"reference_url":"https://github.com/advisories/GHSA-m269-wj6g-c459","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-m269-wj6g-c459"},{"reference_url":"https://github.com/rohe/pysaml2/commit/6e09a25d9b4b7aa7a506853210a9a14100b8bc9b","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/commit/6e09a25d9b4b7aa7a506853210a9a14100b8bc9b"},{"reference_url":"https://github.com/rohe/pysaml2/issues/366","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/issues/366"},{"reference_url":"https://github.com/rohe/pysaml2/pull/379","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/pull/379"},{"reference_url":"http://www.openwall.com/lists/oss-security/2017/01/19/5","reference_id":"","reference_type":"","scores":[],"url":"http://www.openwall.com/lists/oss-security/2017/01/19/5"},{"reference_url":"http://www.securityfocus.com/bid/95376","reference_id":"","reference_type":"","scores":[],"url":"http://www.securityfocus.com/bid/95376"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/9753?format=json","purl":"pkg:pypi/pysaml2@4.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18jn-t4rf-13f1"},{"vulnerability":"VCID-azuf-r76r-gkaa"},{"vulnerability":"VCID-rp35-dypx-8ubn"},{"vulnerability":"VCID-rydh-2y4u-u3ef"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@4.5.0"}],"aliases":["CVE-2016-10127","GHSA-m269-wj6g-c459","PYSEC-2017-67"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-6d5c-jdcx-pbeg"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/3899?format=json","vulnerability_id":"VCID-azuf-r76r-gkaa","summary":"signature forgery","references":[{"reference_url":"https://github.com/IdentityPython/pysaml2/commit/46578df0695269a16f1c94171f1429873f90ed99","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/commit/46578df0695269a16f1c94171f1429873f90ed99"},{"reference_url":"https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/releases/tag/v6.5.0"},{"reference_url":"https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-5p3x-r448-pc62","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-5p3x-r448-pc62"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html"},{"reference_url":"https://pypi.org/project/pysaml2","reference_id":"","reference_type":"","scores":[],"url":"https://pypi.org/project/pysaml2"},{"reference_url":"https://www.aleksey.com/pipermail/xmlsec/2013/009717.html","reference_id":"","reference_type":"","scores":[],"url":"https://www.aleksey.com/pipermail/xmlsec/2013/009717.html"},{"reference_url":"https://security.archlinux.org/AVG-1487","reference_id":"AVG-1487","reference_type":"","scores":[{"value":"Critical","scoring_system":"archlinux","scoring_elements":""}],"url":"https://security.archlinux.org/AVG-1487"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/19823?format=json","purl":"pkg:pypi/pysaml2@6.5.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@6.5.0"}],"aliases":["CVE-2021-21239","GHSA-5p3x-r448-pc62","PYSEC-2021-49"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-azuf-r76r-gkaa"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35145?format=json","vulnerability_id":"VCID-rp35-dypx-8ubn","summary":"Python package pysaml2 version 4.4.0 and earlier reuses the initialization vector across encryptions in the IDP server, resulting in weak encryption of data.","references":[{"reference_url":"https://github.com/advisories/GHSA-cq94-qf6q-mf2h","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-cq94-qf6q-mf2h"},{"reference_url":"https://github.com/IdentityPython/pysaml2/pull/519/commits/7323f5c20efb59424d853c822e7a26d1aa3e84aa","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/pull/519/commits/7323f5c20efb59424d853c822e7a26d1aa3e84aa"},{"reference_url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2017-26.yaml","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2017-26.yaml"},{"reference_url":"https://github.com/rohe/pysaml2","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2"},{"reference_url":"https://github.com/rohe/pysaml2/issues/417","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/issues/417"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000246","reference_id":"CVE-2017-1000246","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000246"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/10559?format=json","purl":"pkg:pypi/pysaml2@4.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18jn-t4rf-13f1"},{"vulnerability":"VCID-azuf-r76r-gkaa"},{"vulnerability":"VCID-rydh-2y4u-u3ef"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@4.6.0"}],"aliases":["CVE-2017-1000246","GHSA-cq94-qf6q-mf2h","PYSEC-2017-26"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-rp35-dypx-8ubn"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35479?format=json","vulnerability_id":"VCID-rydh-2y4u-u3ef","summary":"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.","references":[{"reference_url":"https://github.com/advisories/GHSA-qf7v-8hj3-4xw7","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-qf7v-8hj3-4xw7"},{"reference_url":"https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25"},{"reference_url":"https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e"},{"reference_url":"https://github.com/IdentityPython/pysaml2/releases","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/releases"},{"reference_url":"https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00025.html"},{"reference_url":"https://pypi.org/project/pysaml2/5.0.0/","reference_id":"","reference_type":"","scores":[],"url":"https://pypi.org/project/pysaml2/5.0.0/"},{"reference_url":"https://usn.ubuntu.com/4245-1/","reference_id":"","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/4245-1/"},{"reference_url":"https://www.debian.org/security/2020/dsa-4630","reference_id":"","reference_type":"","scores":[],"url":"https://www.debian.org/security/2020/dsa-4630"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/14807?format=json","purl":"pkg:pypi/pysaml2@5.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18jn-t4rf-13f1"},{"vulnerability":"VCID-azuf-r76r-gkaa"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@5.0.0"}],"aliases":["CVE-2020-5390","GHSA-qf7v-8hj3-4xw7","PYSEC-2020-94"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-rydh-2y4u-u3ef"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35159?format=json","vulnerability_id":"VCID-t3ba-s8mg-s7cx","summary":"pysaml2 version 4.4.0 and older accept any password when run with python optimizations enabled. This allows attackers to log in as any user without knowing their password.","references":[{"reference_url":"https://github.com/advisories/GHSA-924m-4pmx-c67h","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-924m-4pmx-c67h"},{"reference_url":"https://github.com/IdentityPython/pysaml2/commit/6312a41e037954850867f29d329e5007df1424a5","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/commit/6312a41e037954850867f29d329e5007df1424a5"},{"reference_url":"https://github.com/IdentityPython/pysaml2/pull/454","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/IdentityPython/pysaml2/pull/454"},{"reference_url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2018-48.yaml","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pysaml2/PYSEC-2018-48.yaml"},{"reference_url":"https://github.com/rohe/pysaml2","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2"},{"reference_url":"https://github.com/rohe/pysaml2/issues/451","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/rohe/pysaml2/issues/451"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00000.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00000.html"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2021/02/msg00038.html"},{"reference_url":"https://security.gentoo.org/glsa/201801-11","reference_id":"","reference_type":"","scores":[],"url":"https://security.gentoo.org/glsa/201801-11"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000433","reference_id":"CVE-2017-1000433","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000433"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/9753?format=json","purl":"pkg:pypi/pysaml2@4.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-18jn-t4rf-13f1"},{"vulnerability":"VCID-azuf-r76r-gkaa"},{"vulnerability":"VCID-rp35-dypx-8ubn"},{"vulnerability":"VCID-rydh-2y4u-u3ef"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@4.5.0"}],"aliases":["CVE-2017-1000433","GHSA-924m-4pmx-c67h","PYSEC-2018-48"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-t3ba-s8mg-s7cx"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pysaml2@4.0.0"}