Debian DSA-1460-1 : postgresql-8.1 - several vulnerabilities

high Nessus Plugin ID 29937

Synopsis

The remote Debian host is missing a security-related update.

Description

Several local vulnerabilities have been discovered in PostgreSQL, an object-relational SQL database. The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2007-3278 It was discovered that the DBLink module performed insufficient credential validation. This issue is also tracked as CVE-2007-6601, since the initial upstream fix was incomplete.

- CVE-2007-4769 Tavis Ormandy and Will Drewry discovered that a bug in the handling of back-references inside the regular expressions engine could lead to an out of bounds read, resulting in a crash. This constitutes only a security problem if an application using PostgreSQL processes regular expressions from untrusted sources.

- CVE-2007-4772 Tavis Ormandy and Will Drewry discovered that the optimizer for regular expression could be tricked into an infinite loop, resulting in denial of service. This constitutes only a security problem if an application using PostgreSQL processes regular expressions from untrusted sources.

- CVE-2007-6067 Tavis Ormandy and Will Drewry discovered that the optimizer for regular expression could be tricked massive resource consumption. This constitutes only a security problem if an application using PostgreSQL processes regular expressions from untrusted sources.

- CVE-2007-6600 Functions in index expressions could lead to privilege escalation. For a more in depth explanation please see the upstream announce available at http://www.postgresql.org/about/news.905.

Solution

Upgrade the postgresql-8.1 (8.1.11-0etch1) package.

The old stable distribution (sarge), doesn't contain postgresql-8.1.

For the stable distribution (etch), these problems have been fixed in version postgresql-8.1 8.1.11-0etch1.

See Also

https://security-tracker.debian.org/tracker/CVE-2007-3278

https://security-tracker.debian.org/tracker/CVE-2007-6601

https://security-tracker.debian.org/tracker/CVE-2007-4769

https://security-tracker.debian.org/tracker/CVE-2007-4772

https://security-tracker.debian.org/tracker/CVE-2007-6067

https://security-tracker.debian.org/tracker/CVE-2007-6600

https://www.postgresql.org/about/news.905/

https://www.debian.org/security/2008/dsa-1460

Plugin Details

Severity: High

ID: 29937

File Name: debian_DSA-1460.nasl

Version: 1.19

Type: local

Agent: unix

Published: 1/14/2008

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:postgresql-8.1, cpe:/o:debian:debian_linux:4.0

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

Patch Publication Date: 1/13/2008

Reference Information

CVE: CVE-2007-3278, CVE-2007-4769, CVE-2007-4772, CVE-2007-6067, CVE-2007-6600, CVE-2007-6601

CWE: 189, 264, 287, 399

DSA: 1460