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

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

                               ESB-2021.0899
                    USN-4754-3: Python vulnerabilities
                               15 March 2021

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

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

Product:           Python
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Provide Misleading Information  -- Remote/Unauthenticated
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-3177 CVE-2020-27619 CVE-2020-26116
                   CVE-2020-8492 CVE-2019-20907 CVE-2019-17514
                   CVE-2019-9674  

Reference:         ESB-2021.0844
                   ESB-2021.0764
                   ESB-2021.0647

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

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

USN-4754-3: Python vulnerabilities
12 March 2021

Several security issues were fixed in Python 2.7 and Python 3.8.
Releases

  o Ubuntu 20.04 LTS
  o Ubuntu 18.04 LTS

Packages

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

Details

USN-4754-1 fixed vulnerabilities in Python. This update provides
the corresponding updates for Ubuntu 18.04 ESM and Ubuntu 20.04 ESM.

In the case of Python 2.7 for 20.04 ESM, these additional fixes are included:

It was dicovered that Python allowed remote attackers to cause a denial of
service (resource consumption) via a ZIP bomb. ( CVE-2019-9674 )

It was discovered that Python had potentially misleading information about
whether sorting occurs. This fix updates the documentation about it.
( CVE-2019-17514 )

It was discovered that Python incorrectly handled certain TAR archives.
An attacker could possibly use this issue to cause a denial of service.
( CVE-2019-20907 )

It was discovered that Python allowed an HTTP server to conduct Regular
Expression Denial of Service (ReDoS) attacks against a client because of
urllib.request.AbstractBasicAuthHandler catastrophic backtracking.
( CVE-2020-8492 )

It was discovered that Python allowed CRLF injection if the attacker controls
the HTTP request method, as demonstrated by inserting CR and LF control
characters in the first argument of HTTPConnection.request. ( CVE-2020-26116 )

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 20.04

  o python2.7-minimal - 2.7.18-1~20.04.1
  o python2.7 - 2.7.18-1~20.04.1

Ubuntu 18.04

  o python3.8-minimal - 3.8.0-3~18.04.1
  o python3.7 - 3.7.5-2~18.04.4
  o python3.8 - 3.8.0-3~18.04.1
  o python3.7-minimal - 3.7.5-2~18.04.4

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

References

  o CVE-2020-8492
  o CVE-2019-17514
  o CVE-2019-9674
  o CVE-2021-3177
  o CVE-2019-20907
  o CVE-2020-26116
  o CVE-2020-27619

Related notices

  o USN-4581-1 : python3.6-minimal, python3.4, python2.7-minimal, python3.5,
    python3.5-minimal, python3.4-minimal, python2.7, python3.6
  o USN-4333-1 : python3.6-minimal, python3.4, python2.7-minimal, python3.5,
    python3.5-minimal, python3.7, python3.7-minimal, python3.4-minimal,
    python2.7, python3.6
  o USN-4428-1 : python3.6-minimal, python3.4, python2.7-minimal, python3.5,
    python3.8, python3.8-minimal, python3.5-minimal, python3.4-minimal,
    python2.7, python3.6
  o USN-4754-1 : python3.6-minimal, python3.4, python2.7-minimal, python3.5,
    python3.8, python3.8-minimal, python3.5-minimal, python3.4-minimal,
    python2.7, python3.6
  o USN-4333-2 : python3.8-minimal, python3.8
  o USN-4754-4 : python2.7-minimal, python2.7

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

iQIVAwUBYE7gBuNLKJtyKPYoAQixMA//cvzPIF32eBJZXMJb6bE3oMblSox7M8r9
8b7sRi4Ipzdk7DViczvmpIRuYIe9WZWXRQfO4wfeTkRlSSosEVdX0u9C0U/R8t1j
tBnKv8wRvpqwHwaFEZtVKNFIGZt/aaUAK3PriiFVVW7h/NdX/CcQ6vcKcP1VEKP7
hxOHwj4SClKKyY7byb9wSLfOZXHl2GCd2IWSpXXpj7UGUtYN9UDo1TTUt24jIzZ/
jwYVX3L89DtJvPJ+9A49960ynZWZcq/gF8Flm/ye9neWCQGxKZQndwLfEqwa9CFe
n5s+KUVHihqgBM9ERDr+fASHCy5eCfSWjdij0smh8pTHN+0itYl1eTp+ODS+9goR
oEI4057UXZhKp2oRUhASRp8W+x5rVjFsJiQ9b0lNw1wATz3StFdrDvfBhpODActR
9G369ds4Ewwd1xBkyWUhXPTnfqvoMz6t8EzhMeiAgH5LVfCFbVFBy4I8XyRn8ltQ
JshfAnu28jdwvirGat3wOQQSxXtyoWPF3J6dBayGcgLnBIwF7HPlFeh/JGoe2cGR
HyUd1vvpygWA+lxtOe4jCdtS8pmz8U4jlujf4mUEhTWk1GW0/oIcA560uPgVGtui
TqacK/IGBs5e07wgS2lUF8fSL8CJZ3NTkir/E0WgIehlX9dTqZ9VuKMKJvjMg0CQ
RD9i5O3y75I=
=q20e
-----END PGP SIGNATURE-----