Skip to content
Heist/ feed
Back to feed
HighFix available

python-pysaml2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
python-pysaml2
Affected versions
Not specified
Fixed versions
4.5.0-7
CVEs
CVE-2020-5390
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 14:06 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-5390

core-osv · Original source

Published 13 Jan 2020, 19:15 UTC

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.

osv:DEBIAN-CVE-2020-5390

python-pysaml2

Fixed versions: 4.5.0-7

python-pysaml2

Fixed versions: 4.5.0-7

python-pysaml2

Fixed versions: 4.5.0-7

Complete source record
{
  "id": "7b13303f758807f50a9a9264f035a1ecc013cde2d98d7447af75b2b96f3ad372",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-5390",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2020-5390",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2020-5390",
    "products": [
      {
        "name": {
          "value": "python-pysaml2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.5.0-7",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-pysaml2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.5.0-7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-pysaml2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.5.0-7",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2020-5390",
      "aliases": [
        "DEBIAN-CVE-2020-5390"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.5.0-7"
                }
              ]
            }
          ],
          "package": {
            "name": "python-pysaml2",
            "purl": "pkg:deb/debian/python-pysaml2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5390.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.5.0-7"
                }
              ]
            }
          ],
          "package": {
            "name": "python-pysaml2",
            "purl": "pkg:deb/debian/python-pysaml2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5390.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.5.0-7"
                }
              ]
            }
          ],
          "package": {
            "name": "python-pysaml2",
            "purl": "pkg:deb/debian/python-pysaml2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5390.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:02:50.480291102Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-5390"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2020-5390"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-5390",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 453133,
  "published_at": "2020-01-13T19:15:12.413+00:00"
}