USN-585-1: Python vulnerabilities

11 March 2008

python2.42.5 vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 7.10
  • Ubuntu 7.04
  • Ubuntu 6.10
  • Ubuntu 6.06 LTS

Software Description

  • python2.4
  • python2.5

Details

Piotr Engelking discovered that strxfrm in Python was not correctly calculating the size of the destination buffer. This could lead to small information leaks, which might be used by attackers to gain additional knowledge about the state of a running Python script. (CVE-2007-2052)

A flaw was discovered in the Python imageop module. If a script using the module could be tricked into processing a specially crafted set of arguments, a remote attacker could execute arbitrary code, or cause the application to crash. (CVE-2007-4965)

Update instructions

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

Ubuntu 7.10
python2.4 - 2.4.4-6ubuntu4.1
python2.5 - 2.5.1-5ubuntu5.1
Ubuntu 7.04
python2.4 - 2.4.4-2ubuntu7.1
python2.5 - 2.5.1-0ubuntu1.1
Ubuntu 6.10
python2.4 - 2.4.4~c1-0ubuntu1.1
python2.5 - 2.5-2ubuntu2.1
Ubuntu 6.06 LTS
python2.4 - 2.4.3-0ubuntu6.1

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

After a standard system upgrade you need to reboot your computer to effect the necessary changes.

References