CVE-2020-5390

python-pysaml2: does not check that the signature in a SAML document is enveloped

Published Jan 13, 2020 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2119-1 python-pysaml2 security update
Debian DSA Debian DSA DSA-4630-1 python-pysaml2 security update
EUVD EUVD EUVD-2020-0157 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.
Github GHSA Github GHSA GHSA-qf7v-8hj3-4xw7 Improper Verification of Cryptographic Signature in PySAML2
Ubuntu USN Ubuntu USN USN-4245-1 PySAML2 vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 8:30 AM
Reserved
Jan 3, 2020, 12:00 AM
Status
Modified
Published
Jan 13, 2020, 7:15 PM
Modified
Jun 17, 2026, 3:21 AM
Severity
Important
Public date
Jan 13, 2020, 12:00 AM