RHEL 3 / 4 : postgresql (RHSA-2006:0526)

high Nessus Plugin ID 21595

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

Updated postgresql packages that fix several security vulnerabilities are now available for Red Hat Enterprise Linux 3 and 4.

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

PostgreSQL is an advanced Object-Relational database management system (DBMS).

A bug was found in the way PostgreSQL's PQescapeString function escapes strings when operating in a multibyte character encoding. It is possible for an attacker to provide an application a carefully crafted string containing invalidly-encoded characters, which may be improperly escaped, allowing the attacker to inject malicious SQL.
While this update fixes how PQescapeString operates, the PostgreSQL server has also been modified to prevent such an attack occurring through unpatched clients. (CVE-2006-2313, CVE-2006-2314). More details about this issue are available in the linked PostgreSQL technical documentation.

An integer signedness bug was found in the way PostgreSQL generated password salts. The actual salt size is only half the size of the expected salt, making the process of brute forcing password hashes slightly easier. This update will not strengthen already existing passwords, but all newly assigned passwords will have the proper salt length. (CVE-2006-0591)

Users of PostgreSQL should upgrade to these updated packages containing PostgreSQL version 7.4.13, which corrects these issues.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/cve-2006-0591

https://access.redhat.com/security/cve/cve-2006-2313

https://access.redhat.com/security/cve/cve-2006-2314

https://www.postgresql.org/docs/techdocs.52/

https://access.redhat.com/errata/RHSA-2006:0526

Plugin Details

Severity: High

ID: 21595

File Name: redhat-RHSA-2006-0526.nasl

Version: 1.26

Type: local

Agent: unix

Published: 5/24/2006

Updated: 1/14/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-jdbc, p-cpe:/a:redhat:enterprise_linux:postgresql-libs, p-cpe:/a:redhat:enterprise_linux:postgresql-pl, p-cpe:/a:redhat:enterprise_linux:postgresql-python, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-tcl, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:rh-postgresql, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-devel, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-docs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-jdbc, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-libs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-pl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-python, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-tcl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql-test, cpe:/o:redhat:enterprise_linux:3, cpe:/o:redhat:enterprise_linux:4

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/23/2006

Vulnerability Publication Date: 2/7/2006

Reference Information

CVE: CVE-2006-0591, CVE-2006-2313, CVE-2006-2314

BID: 18092

RHSA: 2006:0526