CentOS 4 / 5 : postgresql (CESA-2009:1484)

medium Nessus Plugin ID 43800

Language:

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated postgresql packages that fix two security issues are now available for Red Hat Enterprise Linux 4 and 5.

This update has been rated as having moderate security impact by the Red Hat Security Response Team.

PostgreSQL is an advanced object-relational database management system (DBMS).

It was discovered that the upstream patch for CVE-2007-6600 included in the Red Hat Security Advisory RHSA-2008:0038 did not include protection against misuse of the RESET ROLE and RESET SESSION AUTHORIZATION commands. An authenticated user could use this flaw to install malicious code that would later execute with superuser privileges. (CVE-2009-3230)

A flaw was found in the way PostgreSQL handled encoding conversion. A remote, authenticated user could trigger an encoding conversion failure, possibly leading to a temporary denial of service. Note: To exploit this issue, a locale and client encoding for which specific messages fail to translate must be selected (the availability of these is determined by an administrator-defined locale setting).
(CVE-2009-0922)

Note: For Red Hat Enterprise Linux 4, this update upgrades PostgreSQL to version 7.4.26. For Red Hat Enterprise Linux 5, this update upgrades PostgreSQL to version 8.1.18. Refer to the PostgreSQL Release Notes for a list of changes :

http://www.postgresql.org/docs/7.4/static/release.html http://www.postgresql.org/docs/8.1/static/release.html

All PostgreSQL users should upgrade to these updated packages, which resolve these issues. If the postgresql service is running, it will be automatically restarted after installing this update.

Solution

Update the affected postgresql packages.

See Also

http://www.nessus.org/u?a4f8d751

http://www.nessus.org/u?359e7ac8

http://www.nessus.org/u?46402491

http://www.nessus.org/u?1fc17d78

Plugin Details

Severity: Medium

ID: 43800

File Name: centos_RHSA-2009-1484.nasl

Version: 1.15

Type: local

Agent: unix

Published: 1/6/2010

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:postgresql-contrib, p-cpe:/a:centos:centos:postgresql-jdbc, p-cpe:/a:centos:centos:postgresql, p-cpe:/a:centos:centos:postgresql-libs, p-cpe:/a:centos:centos:postgresql-tcl, p-cpe:/a:centos:centos:postgresql-debuginfo, p-cpe:/a:centos:centos:postgresql-server, p-cpe:/a:centos:centos:postgresql-python, p-cpe:/a:centos:centos:postgresql-docs, p-cpe:/a:centos:centos:postgresql-test, cpe:/o:centos:centos:4, cpe:/o:centos:centos:5, p-cpe:/a:centos:centos:postgresql-devel, p-cpe:/a:centos:centos:postgresql-pl

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/9/2009

Vulnerability Publication Date: 1/9/2008

Reference Information

CVE: CVE-2007-6600, CVE-2009-0922, CVE-2009-3230

BID: 34090, 36314

CWE: 264, 399

RHSA: 2009:1484