Ubuntu 6.06 LTS / 8.04 LTS / 8.10 : python2.4, python2.5 vulnerabilities (USN-806-1)

Critical Nessus Plugin ID 40361

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

It was discovered that Python incorrectly handled certain arguments in the imageop module. If an attacker were able to pass specially crafted arguments through the crop function, they could execute arbitrary code with user privileges. For Python 2.5, this issue only affected Ubuntu 8.04 LTS. (CVE-2008-4864)

Multiple integer overflows were discovered in Python's stringobject and unicodeobject expandtabs method. If an attacker were able to exploit these flaws they could execute arbitrary code with user privileges or cause Python applications to crash, leading to a denial of service. (CVE-2008-5031).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

See Also

https://usn.ubuntu.com/806-1/

Plugin Details

Severity: Critical

ID: 40361

File Name: ubuntu_USN-806-1.nasl

Version: 1.16

Type: local

Agent: unix

Published: 2009/07/24

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:idle-python2.4, p-cpe:/a:canonical:ubuntu_linux:idle-python2.5, p-cpe:/a:canonical:ubuntu_linux:python2.4, p-cpe:/a:canonical:ubuntu_linux:python2.4-dbg, p-cpe:/a:canonical:ubuntu_linux:python2.4-dev, p-cpe:/a:canonical:ubuntu_linux:python2.4-doc, p-cpe:/a:canonical:ubuntu_linux:python2.4-examples, p-cpe:/a:canonical:ubuntu_linux:python2.4-gdbm, p-cpe:/a:canonical:ubuntu_linux:python2.4-minimal, p-cpe:/a:canonical:ubuntu_linux:python2.4-tk, p-cpe:/a:canonical:ubuntu_linux:python2.5, p-cpe:/a:canonical:ubuntu_linux:python2.5-dbg, p-cpe:/a:canonical:ubuntu_linux:python2.5-dev, p-cpe:/a:canonical:ubuntu_linux:python2.5-doc, p-cpe:/a:canonical:ubuntu_linux:python2.5-examples, p-cpe:/a:canonical:ubuntu_linux:python2.5-minimal, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, cpe:/o:canonical:ubuntu_linux:8.04:-:lts, cpe:/o:canonical:ubuntu_linux:8.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2009/07/23

Reference Information

CVE: CVE-2008-2315, CVE-2008-4864, CVE-2008-5031

BID: 31932, 31976, 33187

USN: 806-1

CWE: 189