Scientific Linux Security Update : postgresql and postgresql84 on SL5.x i386/x86_64 (20120625)

medium Nessus Plugin ID 61352

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

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

A flaw was found in the way the crypt() password hashing function from the optional PostgreSQL pgcrypto contrib module performed password transformation when used with the DES algorithm. If the password string to be hashed contained the 0x80 byte value, the remainder of the string was ignored when calculating the hash, significantly reducing the password strength. This made brute-force guessing more efficient as the whole password was not required to gain access to protected resources. (CVE-2012-2143)

Note: With this update, the rest of the string is properly included in the DES hash; therefore, any previously stored password values that are affected by this issue will no longer match. In such cases, it will be necessary for those stored password hashes to be updated.

A denial of service flaw was found in the way the PostgreSQL server performed a user privileges check when applying SECURITY DEFINER or SET attributes to a procedural language's (such as PL/Perl or PL/Python) call handler function. A non-superuser database owner could use this flaw to cause the PostgreSQL server to crash due to infinite recursion. (CVE-2012-2655)

These updated packages upgrade PostgreSQL to version 8.4.12, which fixes these issues as well as several non-security issues. Refer to the PostgreSQL Release Notes for a full list of changes :

http://www.postgresql.org/docs/8.4/static/release.html

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

Solution

Update the affected packages.

See Also

https://www.postgresql.org/docs/8.4/release.html

http://www.nessus.org/u?66dc7164

Plugin Details

Severity: Medium

ID: 61352

File Name: sl_20120625_postgresql_and_postgresql84_on_SL5_x.nasl

Version: 1.8

Type: local

Agent: unix

Published: 8/1/2012

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: Medium

Base Score: 4.3

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:postgresql84-pltcl, x-cpe:/o:fermilab:scientific_linux, p-cpe:/a:fermilab:scientific_linux:postgresql84-plperl, p-cpe:/a:fermilab:scientific_linux:postgresql84, p-cpe:/a:fermilab:scientific_linux:postgresql84-test, p-cpe:/a:fermilab:scientific_linux:postgresql84-devel, p-cpe:/a:fermilab:scientific_linux:postgresql84-server, p-cpe:/a:fermilab:scientific_linux:postgresql84-debuginfo, p-cpe:/a:fermilab:scientific_linux:postgresql84-tcl, p-cpe:/a:fermilab:scientific_linux:postgresql84-docs, p-cpe:/a:fermilab:scientific_linux:postgresql84-python, p-cpe:/a:fermilab:scientific_linux:postgresql84-plpython, p-cpe:/a:fermilab:scientific_linux:postgresql84-libs, p-cpe:/a:fermilab:scientific_linux:postgresql84-contrib

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

Patch Publication Date: 6/25/2012

Vulnerability Publication Date: 7/5/2012

Reference Information

CVE: CVE-2012-2143, CVE-2012-2655