USN-5767-2: Python vulnerability

Publication date

8 December 2022

Overview

Python could be made to denial of service if it received a specially crafted IDNA input.


Packages

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

Details

USN-5767-1 fixed a vulnerability in Python. This update provides
the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.

Original advisory details:

It was discovered that Python incorrectly handled certain IDNA inputs.
An attacker could possibly use this issue to expose sensitive information
denial of service, or cause a crash.
(CVE-2022-45061)

USN-5767-1 fixed a vulnerability in Python. This update provides
the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.

Original advisory details:

It was discovered that Python incorrectly handled certain IDNA inputs.
An attacker could possibly use this issue to expose sensitive information
denial of service, or cause a crash.
(CVE-2022-45061)

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
16.04 xenial libpython2.7 –  2.7.12-1ubuntu0~16.04.18+esm3  
python2.7 –  2.7.12-1ubuntu0~16.04.18+esm3  
python3.5 –  3.5.2-2ubuntu0~16.04.13+esm6  
libpython3.5 –  3.5.2-2ubuntu0~16.04.13+esm6  
14.04 trusty libpython2.7 –  2.7.6-8ubuntu0.6+esm13  
python2.7 –  2.7.6-8ubuntu0.6+esm13  

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 ›