UBUNTU-CVE-2021-21238

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2021-21238
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21238.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21238
Related
Published
2021-01-21T15:15:00Z
Modified
2021-01-21T15:15:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper verification of cryptographic signature vulnerability. All users of pysaml2 that need to validate signed SAML documents are impacted. The vulnerability is a variant of XML Signature wrapping because it did not validate the SAML document against an XML schema. This allowed invalid XML documents to be processed and such a document can trick pysaml2 with a wrapped signature. This is fixed in PySAML2 6.5.0.

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-pysaml2

Package

Name
python-pysaml2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.0-0ubuntu2

3.*

3.0.0-3ubuntu1
3.0.0-3ubuntu1.16.04.1
3.0.0-3ubuntu1.16.04.3
3.0.0-3ubuntu1.16.04.4
3.0.0-3ubuntu1.16.04.4+esm1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:18.04:LTS / python-pysaml2

Package

Name
python-pysaml2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.0-3ubuntu2

4.*

4.0.2-0ubuntu2
4.0.2-0ubuntu3
4.0.2-0ubuntu3.1
4.0.2-0ubuntu3.2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:20.04:LTS / python-pysaml2

Package

Name
python-pysaml2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.5.0+dfsg1-0ubuntu2
4.9.0-0ubuntu1
4.9.0-0ubuntu2
4.9.0-0ubuntu3
4.9.0-0ubuntu3.1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:22.04:LTS / python-pysaml2

Package

Name
python-pysaml2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*

6.1.0-0ubuntu2

7.*

7.1.0-0ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:24.04:LTS / python-pysaml2

Package

Name
python-pysaml2
Purl
pkg:deb/ubuntu/python-pysaml2@7.1.0-0ubuntu2?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.1.0-0ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "python-pysaml2-doc": "7.1.0-0ubuntu2",
            "python3-pysaml2": "7.1.0-0ubuntu2"
        }
    ]
}