PyPi: Pysaml2

CVE-2020-5390

Safety vulnerability ID: 37783

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jan 13, 2020 Updated at Mar 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

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.

Affected package

pysaml2

Latest version: 7.5.0

Python implementation of SAML Version 2 Standard

Affected versions

Fixed versions

Vulnerability changelog

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.


CONFIRM:https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25: https://github.com/IdentityPython/pysaml2/commit/5e9d5acbcd8ae45c4e736ac521fd2df5b1c62e25
CONFIRM:https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e: https://github.com/IdentityPython/pysaml2/commit/f27c7e7a7010f83380566a219fd6a290a00f2b6e
CONFIRM:https://github.com/IdentityPython/pysaml2/releases: https://github.com/IdentityPython/pysaml2/releases
CONFIRM:https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0: https://github.com/IdentityPython/pysaml2/releases/tag/v5.0.0
MISC:https://pypi.org/project/pysaml2/5.0.0/: https://pypi.org/project/pysaml2/5.0.0/
UBUNTU:USN-4245-1: https://usn.ubuntu.com/4245-1/

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
HIGH
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 5.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
PARTIAL
Availability Impact (A)
NONE