USN-359-1: Python vulnerability

Publication date

6 October 2006

Overview

Python vulnerability


Details

Benjamin C. Wiley Sittler discovered that Python's repr() function did
not properly handle UTF-32/UCS-4 strings. If an application uses
repr() on arbitrary untrusted data, this could be exploited to execute
arbitrary code with the privileges of the python application.

Benjamin C. Wiley Sittler discovered that Python's repr() function did
not properly handle UTF-32/UCS-4 strings. If an application uses
repr() on arbitrary untrusted data, this could be exploited to execute
arbitrary code with the privileges of the python application.

Update instructions

In general, a standard system upgrade is sufficient to effect 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
6.06 dapper python2.4-minimal –  2.4.3-0ubuntu6
python2.3-dbg –  2.3.5-9ubuntu1.2
5.10 breezy python2.3 –  2.3.5-8ubuntu0.2
python2.4-minimal –  2.4.2-1ubuntu0.2
5.04 hoary python2.3 –  2.3.5-2ubuntu0.3
python2.4-minimal –  2.4.1-0ubuntu0.2

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 ›