Ubuntu 5.04 / 5.10 / 6.06 LTS : python2.3, python2.4 vulnerability (USN-359-1)

high Nessus Plugin ID 27939

Synopsis

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

Description

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.

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

Plugin Details

Severity: High

ID: 27939

File Name: ubuntu_USN-359-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 11/10/2007

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: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:idle-python2.3, p-cpe:/a:canonical:ubuntu_linux:idle-python2.4, p-cpe:/a:canonical:ubuntu_linux:python2.3, p-cpe:/a:canonical:ubuntu_linux:python2.3-dbg, p-cpe:/a:canonical:ubuntu_linux:python2.3-dev, p-cpe:/a:canonical:ubuntu_linux:python2.3-doc, p-cpe:/a:canonical:ubuntu_linux:python2.3-examples, p-cpe:/a:canonical:ubuntu_linux:python2.3-gdbm, p-cpe:/a:canonical:ubuntu_linux:python2.3-mpz, p-cpe:/a:canonical:ubuntu_linux:python2.3-tk, 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, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10, cpe:/o:canonical:ubuntu_linux:6.06:-:lts

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

Patch Publication Date: 10/6/2006

Reference Information

CVE: CVE-2006-4980

USN: 359-1