USN-5629-1: Python vulnerability

Publication date

22 September 2022

Overview

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

Releases


Packages

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

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

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
16.04 xenial libpython3.5-stdlib –  3.5.2-2ubuntu0~16.04.13+esm5  
libpython3.5-minimal –  3.5.2-2ubuntu0~16.04.13+esm5  
python3.5 –  3.5.2-2ubuntu0~16.04.13+esm5  
python3.5-minimal –  3.5.2-2ubuntu0~16.04.13+esm5  
libpython3.5 –  3.5.2-2ubuntu0~16.04.13+esm5  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›