CentOS 3 / 4 : postgresql (CESA-2005:433)

high Nessus Plugin ID 21826

Synopsis

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

Description

Updated postgresql packages that fix several security vulnerabilities and risks of data loss are now available.

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) that supports almost all SQL constructs (including transactions, subselects and user-defined types and functions).

The PostgreSQL community discovered two distinct errors in initial system catalog entries that could allow authorized database users to crash the database and possibly escalate their privileges. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CVE-2005-1409 and CVE-2005-1410 to these issues.

Although installing this update will protect new (freshly initdb'd) database installations from these errors, administrators MUST TAKE MANUAL ACTION to repair the errors in pre-existing databases. The appropriate procedures are explained at http://www.postgresql.org/docs/8.0/static/release-7-4-8.html for Red Hat Enterprise Linux 4 users, or http://www.postgresql.org/docs/8.0/static/release-7-3-10.html for Red Hat Enterprise Linux 3 users.

This update corrects several problems that might occur while trying to upgrade a Red Hat Enterprise Linux 3 installation (containing rh-postgresql packages) to Red Hat Enterprise Linux 4 (containing postgresql packages). These updated packages correctly supersede the rh-postgresql packages.

The original release of Red Hat Enterprise Linux 4 failed to initialize the database correctly if started for the first time with SELinux in enforcement mode. This update corrects that problem.

If you already have a nonfunctional database in place, shut down the postgresql service if running, install this update, then do 'sudo rm
-rf /var/lib/pgsql/data' before restarting the postgresql service.

This update also solves the problem that the PostgreSQL server might fail to restart after a system reboot, due to a stale lockfile.

This update also corrects a problem with wrong error messages in libpq, the postgresql client library. The library would formerly report kernel error messages incorrectly when the locale setting was not C.

This update also includes fixes for several other errors, including two race conditions that could result in apparent data inconsistency or actual data loss.

All users of PostgreSQL are advised to upgrade to these updated packages and to apply the recommended manual corrections to existing databases.

Solution

Update the affected postgresql packages.

See Also

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

http://www.nessus.org/u?48fc1db8

http://www.nessus.org/u?403da470

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

http://www.nessus.org/u?206b6c85

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

Plugin Details

Severity: High

ID: 21826

File Name: centos_RHSA-2005-433.nasl

Version: 1.20

Type: local

Agent: unix

Published: 7/3/2006

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

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:centos:centos:postgresql, p-cpe:/a:centos:centos:postgresql-contrib, p-cpe:/a:centos:centos:postgresql-devel, p-cpe:/a:centos:centos:postgresql-docs, p-cpe:/a:centos:centos:postgresql-jdbc, p-cpe:/a:centos:centos:postgresql-libs, p-cpe:/a:centos:centos:postgresql-pl, p-cpe:/a:centos:centos:postgresql-python, p-cpe:/a:centos:centos:postgresql-server, p-cpe:/a:centos:centos:postgresql-tcl, p-cpe:/a:centos:centos:postgresql-test, p-cpe:/a:centos:centos:rh-postgresql, p-cpe:/a:centos:centos:rh-postgresql-contrib, p-cpe:/a:centos:centos:rh-postgresql-devel, p-cpe:/a:centos:centos:rh-postgresql-docs, p-cpe:/a:centos:centos:rh-postgresql-jdbc, p-cpe:/a:centos:centos:rh-postgresql-libs, p-cpe:/a:centos:centos:rh-postgresql-pl, p-cpe:/a:centos:centos:rh-postgresql-python, p-cpe:/a:centos:centos:rh-postgresql-server, p-cpe:/a:centos:centos:rh-postgresql-tcl, p-cpe:/a:centos:centos:rh-postgresql-test, cpe:/o:centos:centos:3, cpe:/o:centos:centos:4

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

Patch Publication Date: 6/2/2005

Vulnerability Publication Date: 5/3/2005

Reference Information

CVE: CVE-2005-1409, CVE-2005-1410

RHSA: 2005:433