PyPI (Python)Worst: Critical7 advisories
pysaml2: known vulnerabilities
pysaml2 has 7 reviewed security advisories in the GitHub Advisory Database — 2 critical, 2 high, 3 moderate. The most recent was published 2021-01-21. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pysaml2 versions running across your servers, containers and images, and ranks what to patch first.
How to fix pysaml2
Upgrade pysaml2 to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade pysaml2 (pin pysaml2>=6.5.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (7)
Improper Verification of Cryptographic Signature in PySAML2
Moderate 6.5 CWE-347
— Affected: before 6.5.0. Fixed in 6.5.0. Published 2021-01-21. GHSA-5p3x-r448-pc62 · CVE-2021-21239
SAML XML Signature wrapping in PySAML2
Moderate 6.5 CWE-347
— Affected: before 6.5.0. Fixed in 6.5.0. Published 2021-01-21. GHSA-f4g9-h89h-jgv9 · CVE-2021-21238
Improper Verification of Cryptographic Signature in PySAML2
High 7.5 CWE-347
— Affected: before 5.0.0. Fixed in 5.0.0. Published 2020-01-13. GHSA-qf7v-8hj3-4xw7 · CVE-2020-5390
Pysaml2 does not sanitize XML responses
High 7.5 CWE-611
— Affected: before 4.5.0. Fixed in 4.5.0. Published 2018-07-16. GHSA-c2vx-49jm-h3f6 · CVE-2016-10149
Pysaml2 improperly initializes encryption vector
Moderate 5.3 CWE-330
— Affected: before 4.6.0. Fixed in 4.6.0. Published 2018-07-16. GHSA-cq94-qf6q-mf2h · CVE-2017-1000246
pysaml2 Improper Authentication vulnerability
Critical 8.1 CWE-287
— Affected: before 4.5.0. Fixed in 4.5.0. Published 2018-01-02. GHSA-924m-4pmx-c67h · CVE-2017-1000433
PySAML2 XML external entity attack
Critical 9.0 CWE-611
— Affected: before 4.5.0. Fixed in 4.5.0. Published 2017-03-03. GHSA-m269-wj6g-c459 · CVE-2016-10127
Find pysaml2 across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.