p PatchFirst

CVE-2020-5390

CVE-2020-5390

CVSS 8.7 · High · EPSS 1.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="python-pysaml2"'
pip show pysaml2

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • python-pysaml2 Debian 12

    Affected ranges
    • ECOSYSTEM: < 4.5.0-7

    Update to 4.5.0-7

  • python-pysaml2 Debian 13

    Affected ranges
    • ECOSYSTEM: < 4.5.0-7

    Update to 4.5.0-7

  • python-pysaml2 Debian 14

    Affected ranges
    • ECOSYSTEM: < 4.5.0-7

    Update to 4.5.0-7

  • pysaml2 PyPI

    Versions
    • 0.4.3
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.1.0
    • 2.0.0
    All versions (33)
    • 2.1.0
    • 2.2.0
    • 2.3.0
    • 2.4.0
    • 3.0.0
    • 3.0.2
    • 4.0.0
    • 4.0.1
    • 4.0.2
    • 4.0.3
    • 4.0.4
    • 4.0.5
    • 4.0.5rc1
    • 4.1.0
    • 4.2.0
    • 4.3.0
    • 4.4.0
    • 4.5.0
    • 4.6.0
    • 4.6.1
    • 4.6.2
    • 4.6.3
    • 4.6.4
    • 4.6.5
    • 4.7.0
    • 4.8.0
    • 4.9.0
    Affected ranges
    • ECOSYSTEM: < 5.0.0

    Update to 5.0.0

  • pysaml2 PyPI

    Versions
    • 0.4.3
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.1.0
    • 2.0.0
    All versions (33)
    • 2.1.0
    • 2.2.0
    • 2.3.0
    • 2.4.0
    • 3.0.0
    • 3.0.2
    • 4.0.0
    • 4.0.1
    • 4.0.2
    • 4.0.3
    • 4.0.4
    • 4.0.5rc1
    • 4.0.5
    • 4.1.0
    • 4.2.0
    • 4.3.0
    • 4.4.0
    • 4.5.0
    • 4.6.0
    • 4.6.1
    • 4.6.2
    • 4.6.3
    • 4.6.4
    • 4.6.5
    • 4.7.0
    • 4.8.0
    • 4.9.0
    Affected ranges
    • {"events": [{"introduced": "0"}, {"fixed": "f27c7e7a7010f83380566a219fd6a290a00f2b6e"}, {"fixed": "5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25"}], "repo": "https://github.com/IdentityPython/pysaml2", "type": "GIT"}
    • ECOSYSTEM: < 5.0.0

    Update to 5.0.0

  • python-pysaml2 Ubuntu 16.04 LTS

    Versions
    • 2.4.0-0ubuntu2
    • 3.0.0-3ubuntu1
    • 3.0.0-3ubuntu1.16.04.1
    • 3.0.0-3ubuntu1.16.04.3
    Affected ranges
    • ECOSYSTEM: < 3.0.0-3ubuntu1.16.04.4

    Update to 3.0.0-3ubuntu1.16.04.4

  • python-pysaml2 Ubuntu 18.04 LTS

    Versions
    • 3.0.0-3ubuntu2
    • 4.0.2-0ubuntu2
    • 4.0.2-0ubuntu3
    Affected ranges
    • ECOSYSTEM: < 4.0.2-0ubuntu3.1

    Update to 4.0.2-0ubuntu3.1

Original sources

Check your server →