Ubuntu 5.10 / 6.06 LTS / 6.10 : postgresql-7.4/-8.0/-8.1 vulnerabilities (USN-417-1)

high Nessus Plugin ID 28007

Synopsis

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

Description

Jeff Trout discovered that the PostgreSQL server did not sufficiently check data types of SQL function arguments in some cases. An authenticated attacker could exploit this to crash the database server or read out arbitrary locations in the server's memory, which could allow retrieving database content the attacker should not be able to see. (CVE-2007-0555)

Jeff Trout reported that the query planner did not verify that a table was still compatible with a previously made query plan. By using ALTER COLUMN TYPE during query execution, an attacker could exploit this to read out arbitrary locations in the server's memory, which could allow retrieving database content the attacker should not be able to see.
(CVE-2007-0556).

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

Plugin Details

Severity: High

ID: 28007

File Name: ubuntu_USN-417-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 11/10/2007

Updated: 1/19/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 8.5

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libpq3, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-7.4, p-cpe:/a:canonical:ubuntu_linux:postgresql-8.0, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython-7.4, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc-8.0, p-cpe:/a:canonical:ubuntu_linux:postgresql-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython-8.0, p-cpe:/a:canonical:ubuntu_linux:libecpg5, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib-8.0, cpe:/o:canonical:ubuntu_linux:5.10, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc-7.4, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-8.0, cpe:/o:canonical:ubuntu_linux:6.10, p-cpe:/a:canonical:ubuntu_linux:libpq4, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-8.0, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-7.4, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib-7.4, p-cpe:/a:canonical:ubuntu_linux:libpq-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-7.4, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-7.4, p-cpe:/a:canonical:ubuntu_linux:postgresql-7.4, p-cpe:/a:canonical:ubuntu_linux:libecpg-compat2, p-cpe:/a:canonical:ubuntu_linux:libpgtypes2, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython-8.1, p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-8.0, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-8.0

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

Patch Publication Date: 2/5/2007

Reference Information

CVE: CVE-2007-0555, CVE-2007-0556

USN: 417-1