-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.3029
                     USN-5066-1: PySAML2 vulnerability
                             9 September 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           PySAML2
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Reduced Security -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-21239  

Reference:         ESB-2021.0722
                   ESB-2021.0320

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-5066-1
   https://ubuntu.com/security/notices/USN-5066-2

Comment: This bulletin contains two (2) Ubuntu security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-5066-1: PySAML2 vulnerability
08 September 2021

PySAML2 could be made to accept invalid SAML documents.
Releases

  o Ubuntu 21.04
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS

Packages

  o python-pysaml2 - Pure python implementation of SAML2

Details

Brian Wolff discovered that PySAML2 incorrectly validated cryptographic
signatures. A remote attacker could possibly use this issue to alter SAML
documents.

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 21.04

  o python3-pysaml2 - 6.1.0-0ubuntu1.21.04.1

Ubuntu 20.04

  o python3-pysaml2 - 4.9.0-0ubuntu3.1

Ubuntu 18.04

  o python-pysaml2 - 4.0.2-0ubuntu3.2
  o python3-pysaml2 - 4.0.2-0ubuntu3.2

In general, a standard system update will make all the necessary changes.

References

  o CVE-2021-21239

Related notices

  o USN-5066-2 : python-pysaml2, python3-pysaml2, python-pysaml2-doc


- ------------------------------------------------------------------------------


USN-5066-2: PySAML2 vulnerability
08 September 2021

PySAML2 could be made to accept invalid SAML documents.
Releases

  o Ubuntu 16.04 ESM

Packages

  o python-pysaml2 - Pure python implementation of SAML2

Details

USN-5066-1 fixed a vulnerability in PySAML2. This update provides
the corresponding update for Ubuntu 16.04 ESM.

Original advisory details:

Brian Wolff discovered that PySAML2 incorrectly validated cryptographic
signatures. A remote attacker could possibly use this issue to alter SAML
documents.

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 16.04

  o python-pysaml2 - 3.0.0-3ubuntu1.16.04.4+esm1
    Available with UA Infra or UA Desktop
  o python3-pysaml2 - 3.0.0-3ubuntu1.16.04.4+esm1
    Available with UA Infra or UA Desktop

In general, a standard system update will make all the necessary changes.

References

  o CVE-2021-21239

Related notices

  o USN-5066-1 : python-pysaml2, python3-pysaml2, python-pysaml2-doc

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYTmJFONLKJtyKPYoAQibcQ/7B4wwMlK7qtQ9+cmcjduODVSLgfri8B4I
LtYv4dEi5UkAfGI5ByN+UiuaLmpeAU+ct4ZKU4RCXk4BkzL+W8HxTGdxxbG3k5sg
nY1yQE934o1UB0kAMHH2ExeC0H30hYnn1MVIbkPY2mUdCg6k/4sO+0SXdvUOJMXV
7eheW8qoAXwio2V7fFMTgK1T7mghbzZb2D0AOM/rLL4F4ICMf60Jhu4oNYkRDwDp
T3ojR/lFzvCaU51R4BtlYkCp0J3H2fhXAzYY2fl/QvRqu6ANlKgFmIZT0nqYKMgF
bRDgKb8t0VIFrFxJX8JeRgvXeTHBOvTLW9cf0IbZlzobDO+prby4T6z7yl8qs0d2
V5Wxo/A/KtYVJrG58MC6SRzB9ghjCTXY/yRT68t41NPqycu5TeNGo6jzSeGaBDN4
aiJJUE8NBt3lI+w5KBB3kCl7KoygR8Hg5X1nizJ91I1BRnON5ZwIzR9Y6o0WByAl
pWKXDDFNLuWT5MA12eRKpz5n2FuU00M+w0kwyR/0SmlC8tpr10jlXR1j5nhO7+YW
jrQh9AIS+wTORiTMT4jMoRhy0vLMPE6mvrWwhKf490vYw/54SquYGNSRs5pdIXmw
w3A7UjW7BDv/F7UwGkbkddeq3JgNGmL2Z7Qrqh45puv+LoJKX8fuiUgowFLuc9gx
dL7XpKuOFSY=
=hVq5
-----END PGP SIGNATURE-----