Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : python2.4, python2.5 vulnerabilities (USN-632-1)

critical Nessus Plugin ID 33807

Synopsis

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

Description

It was discovered that there were new integer overflows in the imageop module. If an attacker were able to trick a Python application into processing a specially crafted image, they could execute arbitrary code with user privileges. (CVE-2008-1679)

Justin Ferguson discovered that the zlib module did not correctly handle certain archives. If an attacker were able to trick a Python application into processing a specially crafted archive file, they could execute arbitrary code with user privileges. (CVE-2008-1721)

Justin Ferguson discovered that certain string manipulations in Python could be made to overflow. If an attacker were able to pass a specially crafted string through the PyString_FromStringAndSize function, they could execute arbitrary code with user privileges.
(CVE-2008-1887)

Multiple integer overflows were discovered in Python's core and modules including hashlib, binascii, pickle, md5, stringobject, unicodeobject, bufferobject, longobject, tupleobject, stropmodule, gcmodule, and mmapmodule. 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-2315, CVE-2008-2316, CVE-2008-3142, CVE-2008-3143, CVE-2008-3144).

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/632-1/

Plugin Details

Severity: Critical

ID: 33807

File Name: ubuntu_USN-632-1.nasl

Version: 1.17

Type: local

Agent: unix

Published: 8/4/2008

Updated: 1/19/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A: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:7.04, cpe:/o:canonical:ubuntu_linux:7.10, cpe:/o:canonical:ubuntu_linux:8.04:-:lts

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/1/2008

Reference Information

CVE: CVE-2008-1679, CVE-2008-1721, CVE-2008-1887, CVE-2008-2315, CVE-2008-2316, CVE-2008-3142, CVE-2008-3143, CVE-2008-3144, CVE-2008-5031

CWE: 119, 189

USN: 632-1