Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

                    USN-4151-1: Python vulnerabilities
                              10 October 2019


        AusCERT Security Bulletin Summary

Product:           Python
Publisher:         Ubuntu
Operating System:  Ubuntu
Impact/Access:     Cross-site Scripting -- Remote with User Interaction
                   Reduced Security     -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-16935 CVE-2019-16056 

Reference:         ESB-2019.3520

Original Bulletin: 

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

USN-4151-1: Python vulnerabilities
9 October 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


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


It was discovered that Python incorrectly parsed certain email addresses. A
remote attacker could possibly use this issue to trick Python applications into
accepting email addresses that should be denied. (CVE-2019-16056)

It was discovered that the Python documentation XML-RPC server incorrectly
handled certain fields. A remote attacker could use this issue to execute a
cross-site scripting (XSS) attack. (CVE-2019-16935)

Update instructions

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

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

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.


  o CVE-2019-16056
  o CVE-2019-16935

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


Australian Computer Emergency Response Team
The University of Queensland
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.
Comment: http://www.auscert.org.au/render.html?it=1967