ALAS-2014-305


Amazon Linux 1 Security Advisory: ALAS-2014-305
Advisory Release Date: 2014-03-13 18:12 Pacific
Advisory Updated Date: 2014-09-17 22:51 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:

postgresql8


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

New Packages:
i686:
    postgresql8-libs-8.4.20-1.44.amzn1.i686
    postgresql8-test-8.4.20-1.44.amzn1.i686
    postgresql8-plpython-8.4.20-1.44.amzn1.i686
    postgresql8-debuginfo-8.4.20-1.44.amzn1.i686
    postgresql8-pltcl-8.4.20-1.44.amzn1.i686
    postgresql8-devel-8.4.20-1.44.amzn1.i686
    postgresql8-plperl-8.4.20-1.44.amzn1.i686
    postgresql8-contrib-8.4.20-1.44.amzn1.i686
    postgresql8-8.4.20-1.44.amzn1.i686
    postgresql8-server-8.4.20-1.44.amzn1.i686
    postgresql8-docs-8.4.20-1.44.amzn1.i686

src:
    postgresql8-8.4.20-1.44.amzn1.src

x86_64:
    postgresql8-pltcl-8.4.20-1.44.amzn1.x86_64
    postgresql8-contrib-8.4.20-1.44.amzn1.x86_64
    postgresql8-server-8.4.20-1.44.amzn1.x86_64
    postgresql8-plpython-8.4.20-1.44.amzn1.x86_64
    postgresql8-8.4.20-1.44.amzn1.x86_64
    postgresql8-libs-8.4.20-1.44.amzn1.x86_64
    postgresql8-debuginfo-8.4.20-1.44.amzn1.x86_64
    postgresql8-plperl-8.4.20-1.44.amzn1.x86_64
    postgresql8-docs-8.4.20-1.44.amzn1.x86_64
    postgresql8-test-8.4.20-1.44.amzn1.x86_64
    postgresql8-devel-8.4.20-1.44.amzn1.x86_64