ALAS-2014-306


Amazon Linux AMI Security Advisory: ALAS-2014-306
Advisory Release Date: 2014-09-17 22:52 Pacific
Severity: Important

Issue Overview:

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 )


Affected Packages:

postgresql9


Issue Correction:
Run yum update postgresql9 to update your system.

New Packages:
i686:
    postgresql9-server-9.2.7-1.40.amzn1.i686
    postgresql9-libs-9.2.7-1.40.amzn1.i686
    postgresql9-upgrade-9.2.7-1.40.amzn1.i686
    postgresql9-plpython-9.2.7-1.40.amzn1.i686
    postgresql9-contrib-9.2.7-1.40.amzn1.i686
    postgresql9-test-9.2.7-1.40.amzn1.i686
    postgresql9-debuginfo-9.2.7-1.40.amzn1.i686
    postgresql9-pltcl-9.2.7-1.40.amzn1.i686
    postgresql9-plperl-9.2.7-1.40.amzn1.i686
    postgresql9-9.2.7-1.40.amzn1.i686
    postgresql9-docs-9.2.7-1.40.amzn1.i686
    postgresql9-devel-9.2.7-1.40.amzn1.i686

src:
    postgresql9-9.2.7-1.40.amzn1.src

x86_64:
    postgresql9-server-9.2.7-1.40.amzn1.x86_64
    postgresql9-test-9.2.7-1.40.amzn1.x86_64
    postgresql9-upgrade-9.2.7-1.40.amzn1.x86_64
    postgresql9-pltcl-9.2.7-1.40.amzn1.x86_64
    postgresql9-contrib-9.2.7-1.40.amzn1.x86_64
    postgresql9-9.2.7-1.40.amzn1.x86_64
    postgresql9-docs-9.2.7-1.40.amzn1.x86_64
    postgresql9-plpython-9.2.7-1.40.amzn1.x86_64
    postgresql9-debuginfo-9.2.7-1.40.amzn1.x86_64
    postgresql9-devel-9.2.7-1.40.amzn1.x86_64
    postgresql9-plperl-9.2.7-1.40.amzn1.x86_64
    postgresql9-libs-9.2.7-1.40.amzn1.x86_64