USN-5066-2

Source
https://ubuntu.com/security/notices/USN-5066-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5066-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5066-2
Upstream
Related
Published
2021-09-08T13:28:00Z
Modified
2026-06-25T13:30:44Z
Summary
python-pysaml2 vulnerability
Details

USN-5066-1 fixed a vulnerability in PySAML2. This update provides the corresponding update for Ubuntu 16.04 ESM.

Original advisory details:

Brian Wolff discovered that PySAML2 incorrectly validated cryptographic signatures. A remote attacker could possibly use this issue to alter SAML documents.

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-pysaml2

Package

Name
python-pysaml2
Purl
pkg:deb/ubuntu/python-pysaml2?arch=source&distro=esm-infra%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.0-3ubuntu1.16.04.4+esm1

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

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-pysaml2",
            "binary_version":  "3.0.0-3ubuntu1.16.04.4+esm1"
        },
        {
            "binary_name":  "python3-pysaml2",
            "binary_version":  "3.0.0-3ubuntu1.16.04.4+esm1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2021-21239",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:Pro:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5066-2.json"