python-pysaml2: CVE-2021-21238: Processing of invalid SAML XML documents

Related Vulnerabilities: CVE-2021-21238  

Debian Bug report logs - #980773
python-pysaml2: CVE-2021-21238: Processing of invalid SAML XML documents

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 21 Jan 2021 21:48:02 UTC

Severity: grave

Tags: security, upstream

Found in version python-pysaml2/6.1.0-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>:
Bug#980773; Package src:python-pysaml2. (Thu, 21 Jan 2021 21:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>. (Thu, 21 Jan 2021 21:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-pysaml2: CVE-2021-21238: Processing of invalid SAML XML documents
Date: Thu, 21 Jan 2021 22:44:06 +0100
Source: python-pysaml2
Version: 6.1.0-3
Severity: grave
Tags: security upstream
Justification: user security hole
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for python-pysaml2.

CVE-2021-21238[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-21238
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21238
[1] https://github.com/IdentityPython/pysaml2/security/advisories/GHSA-f4g9-h89h-jgv9
[2] https://github.com/IdentityPython/pysaml2/commit/3b707723dcf1bf60677b424aac398c0c3557641d

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jan 25 08:02:03 2021; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.