Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 554
Alerts This Week
Warning Icon 1 554

Red Hat: RHSA-2014:0211-01 Important: PostgreSQL Critical Threats

red hat
Calendar Grey February 25, 2014
Dist Redhat Esm H88
Keep abreast of the newest security patches and ramifications for PostgreSQL following the critical advisory release from Red Hat.
Updated postgresql84 and postgresql packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6 respectively

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258

Summary

PostgreSQL is an advanced object-relational database management system (DBMS).
Multiple stack-based buffer overflow flaws were found in the date/time implementation of PostgreSQL. An authenticated database user could provide a specially crafted date/time value that, when processed, could cause PostgreSQL to crash or, potentially, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2014-0063)
Multiple integer overflow flaws, leading to heap-based buffer overflows, were found in various type input functions in PostgreSQL. An authenticated database user could possibly use these flaws to crash PostgreSQL or, potentially, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2014-0064)
Multiple potential buffer overflow flaws were found in PostgreSQL. An authenticated database user could possibly use these flaws to crash PostgreSQL or, potentially, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2014-0065)
It was found that granting an SQL role to a database user in a PostgreSQL database without specifying the "ADMIN" option allowed the grantee to remove other users from their granted role. An authenticated database user could use this flaw to remove a user from an SQL role which they were granted access to. (CVE-2014-0060)
A flaw was found in the validator functions provided by PostgreSQL's procedural languages (PLs). An authenticated database user could possibly use this flaw to escalate their privileges. (CVE-2014-0061)
A race condition was found in the way the CREATE INDEX command performed multiple independent lookups of a table that had to be indexed. An authenticated database user could possibly use this flaw to escalate their privileges. (CVE-2014-0062)
It was found that the chkpass extension of PostgreSQL did not check the return value of the crypt() function. An authenticated database user could possibly use this flaw to crash PostgreSQL via a null pointer dereference. (CVE-2014-0066)
Red Hat would like to thank the PostgreSQL project for reporting these issues. Upstream acknowledges Noah Misch as the original reporter of CVE-2014-0060 and CVE-2014-0063, Heikki Linnakangas and Noah Misch as the original reporters of CVE-2014-0064, Peter Eisentraut and Jozef Mlich as the original reporters of CVE-2014-0065, Andres Freund as the original reporter of CVE-2014-0061, Robert Haas and Andres Freund as the original reporters of CVE-2014-0062, and Honza Horak and Bruce Momjian as the original reporters of CVE-2014-0066.
These updated packages upgrade PostgreSQL to version 8.4.20, which fixes these issues as well as several non-security issues. Refer to the PostgreSQL Release Notes for a full list of changes:
https://www.postgresql.org/docs/8.4/release-8-4-19.html https://www.postgresql.org/docs/8.4/release-8-4-20.html
All PostgreSQL users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. If the postgresql service is running, it will be automatically restarted after installing this update.

References

https://access.redhat.com/security/cve/CVE-2014-0060 https://access.redhat.com/security/cve/CVE-2014-0061 https://access.redhat.com/security/cve/CVE-2014-0062 https://access.redhat.com/security/cve/CVE-2014-0063 https://access.redhat.com/security/cve/CVE-2014-0064 https://access.redhat.com/security/cve/CVE-2014-0065 https://access.redhat.com/security/cve/CVE-2014-0066 https://access.redhat.com/security/updates/classification/#important https://www.postgresql.org/docs/8.4/release-8-4-19.html https://www.postgresql.org/docs/8.4/release-8-4-20.html

Package List

Red Hat Enterprise Linux Desktop (v. 5 client):
Source:
i386: postgresql84-8.4.20-1.el5_10.i386.rpm postgresql84-contrib-8.4.20-1.el5_10.i386.rpm postgresql84-debuginfo-8.4.20-1.el5_10.i386.rpm postgresql84-docs-8.4.20-1.el5_10.i386.rpm postgresql84-libs-8.4.20-1.el5_10.i386.rpm postgresql84-python-8.4.20-1.el5_10.i386.rpm postgresql84-tcl-8.4.20-1.el5_10.i386.rpm
x86_64: postgresql84-8.4.20-1.el5_10.x86_64.rpm postgresql84-contrib-8.4.20-1.el5_10.x86_64.rpm postgresql84-debuginfo-8.4.20-1.el5_10.i386.rpm postgresql84-debuginfo-8.4.20-1.el5_10.x86_64.rpm postgresql84-docs-8.4.20-1.el5_10.x86_64.rpm postgresql84-libs-8.4.20-1.el5_10.i386.rpm postgresql84-libs-8.4.20-1.el5_10.x86_64.rpm postgresql84-python-8.4.20-1.el5_10.x86_64.rpm postgresql84-tcl-8.4.20-1.el5_10.x86_64.rpm
RHEL Desktop Workstation (v. 5 client):
Source:
i386: postgresql84-debuginfo-8.4.20-1.el5_10.i386.rpm postgresql84-devel-8.4.20-1.el5_10.i386.rpm postgresql84-plperl-8.4.20-1.el5_10.i386.rpm postgresql84-plpython-8.4.20-1.el5_10.i386.rpm postgresql84-pltcl-8.4.20-1.el5_10.i386.rpm postgresql84-server-8.4.20-1.el5_10.i386.rpm postgresql84-test-8.4.20-1.el5_10.i386.rpm
x86_64: postgresql84-debuginfo-8.4.20-1.el5_10.i386.rpm postgresql84-debuginfo-8.4.20-1.el5_10.x86_64.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2014:0211-01
Product: Red Hat Enterprise Linux
Issue date: 2014-02-25

Topic

Updated postgresql84 and postgresql packages that fix multiple securityissues are now available for Red Hat Enterprise Linux 5 and 6 respectively.The Red Hat Security Response Team has rated this update as havingImportant security impact. Common Vulnerability Scoring System (CVSS) basescores, which give detailed severity ratings, are available for eachvulnerability from the CVE links in the References section.

Relevant Releases Architectures

RHEL Desktop Workstation (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64

Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64

Red Hat Enterprise Linux HPC Node (v. 6) - x86_64

Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64

Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

Bugs Fixed

1065219 - CVE-2014-0060 postgresql: SET ROLE without ADMIN OPTION allows adding and removing group members1065220 - CVE-2014-0061 postgresql: privilege escalation via procedural language validator functions

1065222 - CVE-2014-0062 postgresql: CREATE INDEX race condition possibly leading to privilege escalation

1065226 - CVE-2014-0063 postgresql: stack-based buffer overflow in datetime input/output

1065230 - CVE-2014-0064 postgresql: integer overflows leading to buffer overflows

1065235 - CVE-2014-0065 postgresql: possible buffer overflow flaws

1065236 - CVE-2014-0066 postgresql: NULL pointer dereference

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.