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

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

                               ESB-2021.0714
                         USN-4754: Python updates
                             26 February 2021

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

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

Product:           python
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Overwrite Arbitrary Files       -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
                   Reduced Security                -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-3177 CVE-2020-27619 

Reference:         ESB-2021.0647
                   ESB-2021.0533
                   ESB-2021.0489

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

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

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

USN-4754-1: Python vulnerabilities
25 February 2021

Python could be made to execute arbitrary code or denial of service if it
received a specially crafted input.
Releases

  o Ubuntu 20.10
  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS
  o Ubuntu 14.04 ESM

Packages

  o python2.7 - An interactive high-level object-oriented language
  o python3.4 - An interactive high-level object-oriented language
  o python3.5 - An interactive high-level object-oriented language
  o python3.6 - An interactive high-level object-oriented language
  o python3.8 - Interactive high-level object-oriented language (version 3.8)

Details

It was discovered that Python incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code
or cause a denial of service. ( CVE-2020-27619 , CVE-2021-3177 )

Update instructions

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

Ubuntu 20.10

  o python3.8 - 3.8.6-1ubuntu0.2
  o python3.8-minimal - 3.8.6-1ubuntu0.2

Ubuntu 20.04

  o python3.8 - 3.8.5-1~20.04.2
  o python3.8-minimal - 3.8.5-1~20.04.2

Ubuntu 18.04

  o python2.7 - 2.7.17-1~18.04ubuntu1.3
  o python2.7-minimal - 2.7.17-1~18.04ubuntu1.3
  o python3.6 - 3.6.9-1~18.04ubuntu1.4
  o python3.6-minimal - 3.6.9-1~18.04ubuntu1.4

Ubuntu 16.04

  o python2.7 - 2.7.12-1ubuntu0~16.04.14
  o python2.7-minimal - 2.7.12-1ubuntu0~16.04.14
  o python3.5 - 3.5.2-2ubuntu0~16.04.13
  o python3.5-minimal - 3.5.2-2ubuntu0~16.04.13

Ubuntu 14.04

  o python2.7 - 2.7.6-8ubuntu0.6+esm8
  o python2.7-minimal - 2.7.6-8ubuntu0.6+esm8
  o python3.4 - 3.4.3-1ubuntu1~14.04.7+esm10
  o python3.4-minimal - 3.4.3-1ubuntu1~14.04.7+esm10

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

References

  o CVE-2021-3177
  o CVE-2020-27619


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


USN-4754-2: Python regression
25 February 2021

USN-4754-1 introduced a regression in Python2.7.
Releases

  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS
  o Ubuntu 14.04 ESM

Packages

  o python2.7 - An interactive high-level object-oriented language

Details

USN-4754-1 fixed a vulnerability in Python. The fix for CVE-2021-3177 
introduced a
regression in Python 2.7. This update reverts the security fix pending further
investigation.

We apologize for the inconvenience.

Original advisory details:

It was discovered that Python incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code
or cause a denial of service. ( CVE-2020-27619 , CVE-2021-3177 )

Update instructions

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

Ubuntu 18.04

  o python2.7 - 2.7.17-1~18.04ubuntu1.5
  o python2.7-minimal - 2.7.17-1~18.04ubuntu1.5

Ubuntu 16.04

  o python2.7 - 2.7.12-1ubuntu0~16.04.16
  o python2.7-minimal - 2.7.12-1ubuntu0~16.04.16

Ubuntu 14.04

  o python2.7 - 2.7.6-8ubuntu0.6+esm9
  o python2.7-minimal - 2.7.6-8ubuntu0.6+esm9

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

References

  o https://launchpad.net/bugs/1916893

- --------------------------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

iQIVAwUBYDhPleNLKJtyKPYoAQi4dQ//YZVuZBNNbcW8Wm7LgrYgOqFQh8pYNGb+
LrMt5pgOeNQZ/qSkpJSlPIweT8f9Jb+3+EiCKLMhEa/Epm4pi2SobhscFfvYPdK5
YG+S3Zz/NOoxIRv1Cem+thrIiHgfxv/SYIJWe7fUjKOFxAbzyR8l29tFxAzaUPtP
a7bGeBNzE+8qi0tKNPT8qjtxNZpBHZgJ32tfRYAcvyIGTdQ4Yj9ZPHNVE3hzo1DH
5gDOG0OJle18vD2cw79fSBSLaFsUlnfjXo+zBXGMk7pAxDimfAl1KMjS7BHCa+S3
7QlWvJ5OUgSXqgKwdAsEP8oK47mLCOwnk7AhcQrIEjNcBGLEt+GXoB6uiVpXpCQv
iDjWuQEMM7Kk83YZf7XRnoEWfDK85sBDs4ikul06U7iLKkSJp0lpSDkdJEGicO3v
SfBxstxNxlYBq4qZOMAU37FnwsAYXQkh43A2E1uht1h/gdqzEfLzfHuZmCOdqg1+
JxmA+XzvMPiKtIR9V6tObp4v3TLlvcf+Hbky1i3jK0wzf/zBNhwPf4ozDUUiAN/p
vX8X/droGYpnKOtWGImoDh3VitarjT8YpKu3HZicQzk2UrYYJScaES21sIvBd5qJ
dTQI6fdKA3MPO1Kb5dKKihL6RTI2RYvLN05LHXlNjkd9Jsf6G2Bc2idRpCqxUhfj
nGcafXzS8GY=
=HNkM
-----END PGP SIGNATURE-----