ALAS-2015-492


Amazon Linux 1 Security Advisory: ALAS-2015-492
Advisory Release Date: 2015-03-13 02:37 Pacific
Advisory Updated Date: 2015-03-13 02:49 Pacific
Severity: Medium

Issue Overview:

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 buffer overflow flaw was found in the PostgreSQL's internal printf() implementation. An authenticated database user could use a specially crafted string in an SQL query to cause PostgreSQL to crash or, potentially, lead to privilege escalation. (CVE-2015-0242)

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 way PostgreSQL handled certain errors during that were generated during protocol synchronization. An authenticated database user could use this flaw to inject queries into an existing connection. (CVE-2015-0244)

The "make check" command for the test suites in PostgreSQL 9.3.3 and earlier does not properly invoke initdb to specify the authentication requirements for a database cluster to be used for the tests, which allows local users to gain privileges by leveraging access to this cluster. (CVE-2014-0067)

An information leak flaw was found in the way certain 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)


Affected Packages:

postgresql92


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

New Packages:
i686:
    postgresql92-test-9.2.10-1.49.amzn1.i686
    postgresql92-libs-9.2.10-1.49.amzn1.i686
    postgresql92-docs-9.2.10-1.49.amzn1.i686
    postgresql92-plperl-9.2.10-1.49.amzn1.i686
    postgresql92-debuginfo-9.2.10-1.49.amzn1.i686
    postgresql92-plpython-9.2.10-1.49.amzn1.i686
    postgresql92-devel-9.2.10-1.49.amzn1.i686
    postgresql92-server-9.2.10-1.49.amzn1.i686
    postgresql92-pltcl-9.2.10-1.49.amzn1.i686
    postgresql92-contrib-9.2.10-1.49.amzn1.i686
    postgresql92-server-compat-9.2.10-1.49.amzn1.i686
    postgresql92-9.2.10-1.49.amzn1.i686

src:
    postgresql92-9.2.10-1.49.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.10-1.49.amzn1.x86_64
    postgresql92-test-9.2.10-1.49.amzn1.x86_64
    postgresql92-devel-9.2.10-1.49.amzn1.x86_64
    postgresql92-docs-9.2.10-1.49.amzn1.x86_64
    postgresql92-pltcl-9.2.10-1.49.amzn1.x86_64
    postgresql92-9.2.10-1.49.amzn1.x86_64
    postgresql92-contrib-9.2.10-1.49.amzn1.x86_64
    postgresql92-debuginfo-9.2.10-1.49.amzn1.x86_64
    postgresql92-libs-9.2.10-1.49.amzn1.x86_64
    postgresql92-server-9.2.10-1.49.amzn1.x86_64
    postgresql92-plpython-9.2.10-1.49.amzn1.x86_64
    postgresql92-plperl-9.2.10-1.49.amzn1.x86_64