CVE-2020-5390

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
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Atk. Vector
NETWORK
Atk. Complexity
LOW
Priv. Required
NONE
Base Score
CVSS 3.x
EPSS Score
Percentile: 69%
VendorProductVersion
pysaml2_projectpysaml2
𝑥
< 5.0.0
canonicalubuntu_linux
16.04
canonicalubuntu_linux
18.04
canonicalubuntu_linux
19.04
canonicalubuntu_linux
19.10
debiandebian_linux
8.0
debiandebian_linux
9.0
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-pysaml2
bullseye
6.5.1-1
fixed
bookworm
7.0.1-2
fixed
sid
7.4.2-5
fixed
trixie
7.4.2-5
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-pysaml2
eoan
Fixed 4.5.0+dfsg1-0ubuntu2.19.10.1
released
disco
Fixed 4.5.0+dfsg1-0ubuntu2.19.04.1
released
bionic
Fixed 4.0.2-0ubuntu3.1
released
xenial
Fixed 3.0.0-3ubuntu1.16.04.4
released
trusty
dne