VDB

PYSEC-2021-48

PYSEC-2021-48 PUBLISHED

Record from OSV · Published January 21, 2021

pysaml2 is fixed in 6.5.0 and 1d8fd268f5bf887480a403a7a5ef8f048157cc14 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pysaml2PyPI6.5.0, 1d8fd268f5bf887480a403a7a5ef8f048157cc14

Affected products

VendorProductVersions
PyPIpysaml20, 0, 0.4.3

Timeline

  • Jan 21, 2021 CVE Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2021-48
vulnetix vdb fixes PYSEC-2021-48

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2021-48/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›