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

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

                               ESB-2022.4702
                     USN-5629-1: Python vulnerability
                             23 September 2022

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

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

Product:           Python
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-28861  

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

Comment: CVSS (Max):  7.4 CVE-2021-28861 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N)
         CVSS Source: Red Hat
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

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

USN-5629-1: Python vulnerability
22 September 2022

Python could be made to redirect web traffic if its http.server
received a specially crafted request.
Releases

  o Ubuntu 16.04 ESM

Packages

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

Details

It was discovered that the Python http.server module incorrectly handled
certain URIs. An attacker could potentially use this to redirect web traffic.

Update instructions

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

Ubuntu 16.04

  o libpython3.5-stdlib - 3.5.2-2ubuntu0~16.04.13+esm5
    Available with UA Infra or UA Desktop
  o libpython3.5-minimal - 3.5.2-2ubuntu0~16.04.13+esm5
    Available with UA Infra or UA Desktop
  o python3.5 - 3.5.2-2ubuntu0~16.04.13+esm5
    Available with UA Infra or UA Desktop
  o python3.5-minimal - 3.5.2-2ubuntu0~16.04.13+esm5
    Available with UA Infra or UA Desktop
  o libpython3.5 - 3.5.2-2ubuntu0~16.04.13+esm5
    Available with UA Infra or UA Desktop

After a standard system update you need to restart the python3 http.server
to make all the necessary changes.

References

  o CVE-2021-28861

- --------------------------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: https://auscert.org.au/gpg-key/

iQIVAwUBYy01/ckNZI30y1K9AQi+Qg//ZRbUAdt6ijGOcSFJ2V1i4xagk2JWjADT
MBTghWNBVxL154/V9m+m0ftRo1rhWemCAhVym0JZzWxCvSCCAN3KBL4LEc6pRjjb
HoaHM+C/OE40oz43Y6oYntWoJqnMFF274XepA+gJrOHwCU+r1cNmNfR9diNsw7Df
BXmUjZu3iL8fBG2N9DgiF+CV6HxOnhWxBx01yAyQoQTtk4vZzWUnsRx4k6lpxrwv
5wNJ9harCLb3htA7CciNgCiQ+npa+aap4PB+6ZhXa98A36f1P5Echk3Nm2NtNSMm
hDUirA00yqAXLq8FZ1k7dCMPiReMlDA+yOEm37qeF+pO5qfAh2uoKrW2uiHr+F3B
mJU7PLBazWrcGyQoHyz2thKZE+DohoVjVnhw1Wz/4PMO+sPuMk7a3N6BLxsq8STq
jSheveWe9JQyvTWxdMklAKVorvA/oeRXULCMmt53JvOcqW/e5vWkDEk5aiDhmXrm
H2P9Z2YTb8QPk5794xj5FIhgKz+JFng/HPzFRN4t1LnDM5QimJaBa8WSrnAPR6Zl
qp+k1tK0rBahQDnV4ED4dSNsUH/92acl6mNxoflllTzSWHWkPgfU6XCkP77v8zgl
yefqWZVOT7kV8X4pugIffrFZ/8KecGgtKRE4xdkDy5DX6Oa5MaWIsqt3VQA0YNMx
ebtz6bDpqzo=
=vjLV
-----END PGP SIGNATURE-----