USN-5342-2: Python vulnerabilities

Publication date

24 August 2022

Overview

Several security issues were fixed in Python.


Packages

  • python2.7 - An interactive high-level object-oriented language

Details

USN-5342-1 fixed several vulnerabilities in Python. This update provides
the corresponding update for Ubuntu 14.04 ESM, Ubuntu 20.04 ESM and
Ubuntu 22.04 ESM.

Original advisory details:

It was discovered that Python incorrectly handled certain FTP requests.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2021-4189)

It was discovered that Python incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2022-0391)

USN-5342-1 fixed several vulnerabilities in Python. This update provides
the corresponding update for Ubuntu 14.04 ESM, Ubuntu 20.04 ESM and
Ubuntu 22.04 ESM.

Original advisory details:

It was discovered that Python incorrectly handled certain FTP requests.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2021-4189)

It was discovered that Python incorrectly handled certain inputs.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2022-0391)

Update instructions

In general, a standard system update will 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
22.04 jammy python2.7 –  2.7.18-13ubuntu1.1+esm2  
python2.7-minimal –  2.7.18-13ubuntu1.1+esm2  
20.04 focal python2.7 –  2.7.18-1~20.04.3+esm1  
python2.7-minimal –  2.7.18-1~20.04.3+esm1  
14.04 trusty python2.7 –  2.7.6-8ubuntu0.6+esm12  
python2.7-minimal –  2.7.6-8ubuntu0.6+esm12  

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 ›