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

critical Nessus Plugin ID 40361
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 6.7

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.17

Type: local

Agent: unix

Published: 7/24/2009

Updated: 1/19/2021

Dependencies: 12634

Risk Information

Risk Factor: Critical

VPR Score: 6.7

CVSS v2.0

Base Score: 10

Temporal Score: 7.8

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

Temporal Vector: 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: 7/23/2009

Reference Information

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

BID: 31932, 31976, 33187

USN: 806-1

CWE: 189