Advisory

PYSEC-2021-48

Also known as: CVE-2021-21238, GHSA-f4g9-h89h-jgv9

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2021-01-21 15:15 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

pysaml2

PyPI · All systems

Affected

  • introduced 0, fixed 6.5.0 (ecosystem)

Fixed versions

6.5.0

Fix

  • Fixed version 6.5.0
    pip install --upgrade pysaml2==6.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences