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

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

                               ESB-2016.2792
                          Python vulnerabilities
                             23 November 2016

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

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

Product:           python
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Access Confidential Data        -- Remote/Unauthenticated      
                   Provide Misleading Information  -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-1000110 CVE-2016-5699 CVE-2016-5636
                   CVE-2016-0772  

Reference:         ASB-2016.0108
                   ESB-2016.2608
                   ESB-2016.1996

Original Bulletin: 
   http://www.ubuntu.com/usn/usn-3134-1

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

==========================================================================
Ubuntu Security Notice USN-3134-1
November 22, 2016

python2.7, python3.2, python3.4, python3.5 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- - Ubuntu 16.04 LTS
- - Ubuntu 14.04 LTS
- - Ubuntu 12.04 LTS

Summary:

Several security issues were fixed in Python.

Software Description:
- - python2.7: An interactive high-level object-oriented language
- - python3.5: An interactive high-level object-oriented language
- - python3.4: An interactive high-level object-oriented language
- - python3.2: An interactive high-level object-oriented language

Details:

It was discovered that the smtplib library in Python did not return an
error when StartTLS fails. A remote attacker could possibly use this to
expose sensitive information. (CVE-2016-0772)

Rémi Rampin discovered that Python would not protect CGI applications
from contents of the HTTP_PROXY environment variable when based on
the contents of the Proxy header from HTTP requests. A remote attacker
could possibly use this to cause a CGI application to redirect outgoing
HTTP requests. (CVE-2016-1000110)

Insu Yun discovered an integer overflow in the zipimporter module in
Python that could lead to a heap-based overflow. An attacker could
use this to craft a special zip file that when read by Python could
possibly execute arbitrary code. (CVE-2016-5636)

Guido Vranken discovered that the urllib modules in Python did
not properly handle carriage return line feed (CRLF) in headers. A
remote attacker could use this to craft URLs that inject arbitrary
HTTP headers. This issue only affected Ubuntu 12.04 LTS and Ubuntu
14.04 LTS. (CVE-2016-5699)

Update instructions:

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

Ubuntu 16.04 LTS:
  libpython2.7                    2.7.12-1ubuntu0~16.04.1
  libpython2.7-minimal            2.7.12-1ubuntu0~16.04.1
  libpython2.7-stdlib             2.7.12-1ubuntu0~16.04.1
  libpython3.5                    3.5.2-2ubuntu0~16.04.1
  libpython3.5-minimal            3.5.2-2ubuntu0~16.04.1
  libpython3.5-stdlib             3.5.2-2ubuntu0~16.04.1
  python2.7                       2.7.12-1ubuntu0~16.04.1
  python2.7-minimal               2.7.12-1ubuntu0~16.04.1
  python3.5                       3.5.2-2ubuntu0~16.04.1
  python3.5-minimal               3.5.2-2ubuntu0~16.04.1

Ubuntu 14.04 LTS:
  libpython2.7                    2.7.6-8ubuntu0.3
  libpython2.7-minimal            2.7.6-8ubuntu0.3
  libpython2.7-stdlib             2.7.6-8ubuntu0.3
  libpython3.4                    3.4.3-1ubuntu1~14.04.5
  libpython3.4-minimal            3.4.3-1ubuntu1~14.04.5
  libpython3.4-stdlib             3.4.3-1ubuntu1~14.04.5
  python2.7                       2.7.6-8ubuntu0.3
  python2.7-minimal               2.7.6-8ubuntu0.3
  python3.4                       3.4.3-1ubuntu1~14.04.5
  python3.4-minimal               3.4.3-1ubuntu1~14.04.5

Ubuntu 12.04 LTS:
  libpython2.7                    2.7.3-0ubuntu3.9
  libpython3.2                    3.2.3-0ubuntu3.8
  python2.7                       2.7.3-0ubuntu3.9
  python2.7-minimal               2.7.3-0ubuntu3.9
  python3.2                       3.2.3-0ubuntu3.8
  python3.2-minimal               3.2.3-0ubuntu3.8

After a standard system update you need to restart any Python
applications to make all the necessary changes.

References:
  http://www.ubuntu.com/usn/usn-3134-1
  CVE-2016-0772, CVE-2016-1000110, CVE-2016-5636, CVE-2016-5699

Package Information:
  https://launchpad.net/ubuntu/+source/python2.7/2.7.12-1ubuntu0~16.04.1
  https://launchpad.net/ubuntu/+source/python3.5/3.5.2-2ubuntu0~16.04.1
  https://launchpad.net/ubuntu/+source/python2.7/2.7.6-8ubuntu0.3
  https://launchpad.net/ubuntu/+source/python3.4/3.4.3-1ubuntu1~14.04.5
  https://launchpad.net/ubuntu/+source/python2.7/2.7.3-0ubuntu3.9
  https://launchpad.net/ubuntu/+source/python3.2/3.2.3-0ubuntu3.8

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

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBWDTkcIx+lLeg9Ub1AQgIaw/9HfXabGqcC8na63MA/ivZy3YIOM6RxUHk
D6vZexJMIPx6vJg56SGobRpMBXhz3o07pGOk4J5MdWgZZTz0V29TFcqRfnBUy1XH
yDVCSmBcZ6iJWk2NrZUL0h8UwkHaUIZMKBk2Mg0kCjht7akGedYRR3fuxQCoKg86
scSmg09tAP6WafiW4Ek5G9dFODSte+/tGWiboEQmG7iUPqLS+AaFBxVQr06hWjQy
eQlzBdpQFXLVgeqrpPpEZJnHTVIsMo0ogTXnVpCMkWvIIWxzki490SvpfIpEivOU
fckYcnqkounYSG3PY9QkRfk6RsbneTi0/mpe2s8rkri3F1t2V9UsJSDzv9PSZJym
QT6ADs9DwIkw+f7z/wmJRTVYKPYD3RlGDdwvMieHWNTsrrenWgNBcpBAOxMTHmBj
iMuRyt7R2tzEspyHhx9d7f3G+LdLRr+Xu5Af219ZsF3S1MnVtQQzDGAe1TRd9cxV
bBlDzkQhEgUhihipW4RHHShz3gBwZ8GzvkguDcLVeHz3OUeF/cryqRfupkXNdvDT
dbDAK9Ya/GeIOBr4ddDgUvZrTgh7YRTKXWHPiSaIg7rM/2t7IlSRLqgFlUxBcf2e
ZCqFCv+7xiAkHguhk9aYPJnhQcOavxxDJDyopdVu2CAKzgh/yRpZULlu+y4Rfx+j
6WrM/yaVk8Q=
=7o20
-----END PGP SIGNATURE-----