cve.bz

CVE-2020-5390

7.5 highEPSS 1.2%Fix available

High (7.5). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in pysaml2 5.0.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-5390 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-5390?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-5390?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-5390 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pysaml2_project:pysaml2before 5.0.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04
canonical:ubuntu_linux19.10
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qf7v-8hj3-4xw7PyPIpysaml2<5.0.05.0.0
PYSEC-2020-94PyPIpysaml2<5.0.05.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8python-pysaml22.0.0-1+deb8u3DLA-2119-1
Debian9python-pysaml23.0.0-5+deb9u1DSA-4630-1
Debian10python-pysaml24.5.0-4+deb10u1DSA-4630-1
Debian12, 13, 14python-pysaml24.5.0-7DEBIAN-CVE-2020-5390
Ubuntu16.04:LTSpython-pysaml23.0.0-3ubuntu1.16.04.4UBUNTU-CVE-2020-5390 USN-4245-1
Ubuntu18.04:LTSpython-pysaml24.0.2-0ubuntu3.1UBUNTU-CVE-2020-5390 USN-4245-1
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20200527-1.26.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8openstack-dashboard-theme-HPE8+git.1523473653.6599ec8-3.3.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.30.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ansible11.9.6-7.3.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1589740980.6c3bcdc-3.73.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cluster8.0+git.1585685203.3e71e49-3.36.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-freezer8.0+git.1586539529.b7d295f-3.21.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-input-model8.0+git.1589740934.0e0ad61-3.39.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-logging8.0+git.1591194866.b7375d0-3.24.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-mq8.0+git.1589715269.62ad6df-3.22.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-neutron8.0+git.1590756744.ba84abc-3.42.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-octavia8.0+git.1590100427.cf4cc8f-3.29.1SUSE-SU-2020:1901-1
128 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedpython-pysaml27.4.2-1.2openSUSE-SU-2024:14156-1
openSUSETumbleweedpython-pysaml27.5.4-1.1openSUSE-SU-2026:11524-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

All versions of Red Hat OpenStack Platform ship but do not use the flawed check-signature functionality of python-pysaml2. The impact for these products is therefore rated as having a security impact of Low and no update will be provided at this time for the impacted RHOSP packages.

Red Hat's mitigation

There is no known mitigation for this issue, the flaw can only be resolved by applying updates.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)python-pysaml2Out of support scope
Red Hat OpenStack Platform 10 (Newton)python-pysaml2Out of support scope
Red Hat OpenStack Platform 13 (Queens)python-pysaml2Will not fix
Red Hat OpenStack Platform 15 (Stein)python-pysaml2Will not fix
Red Hat OpenStack Platform 16 (Train)python-pysaml2Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-5390.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON