ALAS-2015-503


Amazon Linux 1 Security Advisory: ALAS-2015-503
Advisory Release Date: 2015-04-15 21:47 Pacific
Advisory Updated Date: 2015-04-15 22:15 Pacific
Severity: Medium

Issue Overview:

An information leak flaw was found in the way the PostgreSQL database server handled certain error messages. An authenticated database user could possibly obtain the results of a query they did not have privileges to execute by observing the constraint violation error messages produced when the query was executed. (CVE-2014-8161)

A buffer overflow flaw was found in the way PostgreSQL handled certain numeric formatting. An authenticated database user could use a specially crafted timestamp formatting template to cause PostgreSQL to crash or, under certain conditions, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2015-0241)

A stack-buffer overflow flaw was found in PostgreSQL's pgcrypto module. An authenticated database user could use this flaw to cause PostgreSQL to crash or, potentially, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2015-0243)

A flaw was found in the way PostgreSQL handled certain errors that were generated during protocol synchronization. An authenticated database user could use this flaw to inject queries into an existing connection. (CVE-2015-0244)


Affected Packages:

postgresql8


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

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

src:
    postgresql8-8.4.20-2.48.amzn1.src

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