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

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

                              ESB-2019.3424.2
                    USN-4127-1: Python vulnerabilities
                             11 September 2019

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

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

Product:           Python
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Access Privileged Data          -- Remote/Unauthenticated      
                   Denial of Service               -- Remote/Unauthenticated      
                   Provide Misleading Information  -- Remote with User Interaction
                   Unauthorised Access             -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-10160 CVE-2019-9948 CVE-2019-9947
                   CVE-2019-9740 CVE-2019-9636 CVE-2019-5010
                   CVE-2018-20852 CVE-2018-20406 

Reference:         ESB-2019.3419
                   ESB-2019.3381
                   ESB-2019.3330
                   ESB-2019.3309
                   ESB-2019.3154

Original Bulletin: 
   https://usn.ubuntu.com/4127-1/
   https://usn.ubuntu.com/4127-2/

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

Revision History:  September 11 2019: Updates provided  for Ubuntu 12.04 ESM and 
                                      Ubuntu 14.04 ESM
                   September 10 2019: Initial Release

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

USN-4127-2: Python vulnerabilities
10 September 2019

python2.7, python3.4 vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 14.04 ESM
  o Ubuntu 12.04 ESM

Summary

Several security issues were fixed in Python.

Software Description

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

Details

USN-4127-1 fixed several vulnerabilities in Python. This update provides the
corresponding update for Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.

Original advisory details:

It was discovered that Python incorrectly handled certain pickle files. An
attacker could possibly use this issue to consume memory, leading to a denial
of service. This issue only affected Ubuntu 14.04 ESM. (CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when handling
cookies. An attacker could possibly trick Python into sending cookies to the
wrong domain. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly
handled Unicode encoding during NFKC normalization. An attacker could possibly
use this issue to obtain sensitive information. (CVE-2019-9636, CVE-2019-10160)

Colin Read and Nicolas Edet discovered that Python incorrectly handled parsing
certain X509 certificates. An attacker could possibly use this issue to cause
Python to crash, resulting in a denial of service. This issue only affected
Ubuntu 14.04 ESM. (CVE-2019-5010)

It was discovered that Python incorrectly handled certain urls. A remote
attacker could possibly use this issue to perform CRLF injection attacks.
(CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file: scheme. A
remote attacker could possibly use this issue to bypass blacklist meschanisms.
(CVE-2019-9948)

Update instructions

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

Ubuntu 14.04 ESM
    python2.7 - 2.7.6-8ubuntu0.6+esm2
    python2.7-minimal - 2.7.6-8ubuntu0.6+esm2
    python3.4 - 3.4.3-1ubuntu1~14.04.7+esm2
    python3.4-minimal - 3.4.3-1ubuntu1~14.04.7+esm2
Ubuntu 12.04 ESM
    python2.7 - 2.7.3-0ubuntu3.14
    python2.7-minimal - 2.7.3-0ubuntu3.14

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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

References

  o USN-4127-1
  o CVE-2018-20406
  o CVE-2018-20852
  o CVE-2019-10160
  o CVE-2019-5010
  o CVE-2019-9636
  o CVE-2019-9740
  o CVE-2019-9947
  o CVE-2019-9948


- ---

USN-4127-1: Python vulnerabilities
9 September 2019

python2.7, python3.5, python3.6, python3.7 vulnerabilities
A security issue affects these releases of Ubuntu and its derivatives:

  o Ubuntu 19.04
  o Ubuntu 18.04 LTS
  o Ubuntu 16.04 LTS

Summary

Several security issues were fixed in Python.

Software Description

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

Details

It was discovered that Python incorrectly handled certain pickle files. An
attacker could possibly use this issue to consume memory, leading to a denial
of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
(CVE-2018-20406)

It was discovered that Python incorrectly validated the domain when handling
cookies. An attacker could possibly trick Python into sending cookies to the
wrong domain. (CVE-2018-20852)

Jonathan Birch and Panayiotis Panayiotou discovered that Python incorrectly
handled Unicode encoding during NFKC normalization. An attacker could possibly
use this issue to obtain sensitive information. (CVE-2019-9636, CVE-2019-10160)

Colin Read and Nicolas Edet discovered that Python incorrectly handled parsing
certain X509 certificates. An attacker could possibly use this issue to cause
Python to crash, resulting in a denial of service. This issue only affected
Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-5010)

It was discovered that Python incorrectly handled certain urls. A remote
attacker could possibly use this issue to perform CRLF injection attacks.
(CVE-2019-9740, CVE-2019-9947)

Sihoon Lee discovered that Python incorrectly handled the local_file: scheme. A
remote attacker could possibly use this issue to bypass blacklist meschanisms.
(CVE-2019-9948)

Update instructions

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

Ubuntu 19.04
    python2.7 - 2.7.16-2ubuntu0.1
    python2.7-minimal - 2.7.16-2ubuntu0.1
    python3.7 - 3.7.3-2ubuntu0.1
    python3.7-minimal - 3.7.3-2ubuntu0.1
Ubuntu 18.04 LTS
    python2.7 - 2.7.15-4ubuntu4~18.04.1
    python2.7-minimal - 2.7.15-4ubuntu4~18.04.1
    python3.6 - 3.6.8-1~18.04.2
    python3.6-minimal - 3.6.8-1~18.04.2
Ubuntu 16.04 LTS
    python2.7 - 2.7.12-1ubuntu0~16.04.8
    python2.7-minimal - 2.7.12-1ubuntu0~16.04.8
    python3.5 - 3.5.2-2ubuntu0~16.04.8
    python3.5-minimal - 3.5.2-2ubuntu0~16.04.8

To update your system, please follow these instructions: https://
wiki.ubuntu.com/Security/Upgrades .

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

References

  o CVE-2018-20406
  o CVE-2018-20852
  o CVE-2019-10160
  o CVE-2019-5010
  o CVE-2019-9636
  o CVE-2019-9740
  o CVE-2019-9947
  o CVE-2019-9948

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

iQIVAwUBXXh+6WaOgq3Tt24GAQh7nxAAnw1B/bjNjweiRzpydV3ffWjiz7kg/IzL
TyRMtqXcPd2t+9p6fwBIZf8J7epp23W8d8ckcU1gd25t8/6+1wp1Ew2bovz5bKEh
5ti6JFCpbn7Wq8pjrB2bvCFu0JY876sfjrMyoWuTpuHpVeCAoPFkVTRwloYxyHew
+h0lPpdZrqn8i0LHtEieaG9aV4Ze4HDZ/ztAl5bjxcUpCWHjexwfb+y74Au+PiiE
v/MpLIfK01+23YlluHB8EPfJIakz4qWCCD8p+NOwM3anBedt583FKqmM9MNdQ7FY
vIew4J4AeibDb62wuD3w0w6qLSjfQ1buqgDB1bnv8TrN/pxGtK581D3fp7/Xfyr/
uSnIGZsjI4v50gZxfW67jPQjg9NIRrt+eDwJ5yUavlFqjBbfAmAiAY6T5uSy8wXS
r9jiLLe48TpaRGwLUn0HdkSIEgzYZv/g1N4a8UdiSRyOH+4NoHEe8r0ZesUy0bIc
MvA0UyuvjQ8OUi2bFvrEXS/UuEMivAEy8EyA095jgyNP6L5RtSsdNf6Vn3j+oyYD
PhbPvEPty51l8NRMuZA26NXfIXtuVxbTxiU1E7H7F4XucLKVGdfg/k0uGx45lUaB
4u9S55sBEcsmL9pkjjLbwN5Vw9T271JRVq3cyzEtmBip4R/9pKwmCLjDIM9KFCtm
C3zEOs+1bS4=
=lcpt
-----END PGP SIGNATURE-----