USN-6394-2: Python vulnerability

Publication date

17 October 2023

Overview

Python could be made to execute arbitrary code if it received a specially crafted script.


Packages

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

Details

USN-6394-1 fixed a vulnerability in Python. This update provides
the corresponding update for Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

Original advisory details:

It was discovered that Python incorrectly handled certain scripts.
An attacker could possibly use this issue to execute arbitrary code
or cause a crash.

USN-6394-1 fixed a vulnerability in Python. This update provides
the corresponding update for Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

Original advisory details:

It was discovered that Python incorrectly handled certain scripts.
An attacker could possibly use this issue to execute arbitrary code
or cause a crash.

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
18.04 bionic python2.7 –  2.7.17-1~18.04ubuntu1.13+esm3  
16.04 xenial python2.7 –  2.7.12-1ubuntu0~16.04.18+esm8  
14.04 trusty python2.7 –  2.7.6-8ubuntu0.6+esm17  

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 ›