Advisory

PYSEC-2020-94

Also known as: CVE-2020-5390, GHSA-qf7v-8hj3-4xw7

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2020-01-13 19:15 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

pysaml2

PyPI · All systems

Affected

  • introduced 0, fixed 5.0.0 (ecosystem)

Fixed versions

5.0.0

Fix

  • Fixed version 5.0.0
    pip install --upgrade pysaml2==5.0.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