ALAS-2017-908


Amazon Linux 1 Security Advisory: ALAS-2017-908
Advisory Release Date: 2017-10-06 16:51 Pacific
Advisory Updated Date: 2017-10-10 20:01 Pacific
Severity: Medium

Issue Overview:

The pg_user_mappings view discloses passwords to users lacking server privileges:
An authorization flaw was found in the way PostgreSQL handled access to the pg_user_mappings view on foreign servers. A remote authenticated attacker could potentially use this flaw to retrieve passwords from the user mappings defined by the foreign server owners without actually having the privileges to do so. (CVE-2017-7547)

Empty password accepted in some authentication methods:
It was found that authenticating to a PostgreSQL database account with an empty password was possible despite libpq's refusal to send an empty password. A remote attacker could potentially use this flaw to gain access to database accounts with empty passwords. (CVE-2017-7546)


Affected Packages:

postgresql96


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

New Packages:
i686:
    postgresql96-test-9.6.4-1.77.amzn1.i686
    postgresql96-debuginfo-9.6.4-1.77.amzn1.i686
    postgresql96-devel-9.6.4-1.77.amzn1.i686
    postgresql96-plperl-9.6.4-1.77.amzn1.i686
    postgresql96-plpython26-9.6.4-1.77.amzn1.i686
    postgresql96-docs-9.6.4-1.77.amzn1.i686
    postgresql96-server-9.6.4-1.77.amzn1.i686
    postgresql96-contrib-9.6.4-1.77.amzn1.i686
    postgresql96-static-9.6.4-1.77.amzn1.i686
    postgresql96-9.6.4-1.77.amzn1.i686
    postgresql96-libs-9.6.4-1.77.amzn1.i686
    postgresql96-plpython27-9.6.4-1.77.amzn1.i686

src:
    postgresql96-9.6.4-1.77.amzn1.src

x86_64:
    postgresql96-devel-9.6.4-1.77.amzn1.x86_64
    postgresql96-debuginfo-9.6.4-1.77.amzn1.x86_64
    postgresql96-plpython26-9.6.4-1.77.amzn1.x86_64
    postgresql96-docs-9.6.4-1.77.amzn1.x86_64
    postgresql96-libs-9.6.4-1.77.amzn1.x86_64
    postgresql96-plperl-9.6.4-1.77.amzn1.x86_64
    postgresql96-test-9.6.4-1.77.amzn1.x86_64
    postgresql96-plpython27-9.6.4-1.77.amzn1.x86_64
    postgresql96-static-9.6.4-1.77.amzn1.x86_64
    postgresql96-contrib-9.6.4-1.77.amzn1.x86_64
    postgresql96-server-9.6.4-1.77.amzn1.x86_64
    postgresql96-9.6.4-1.77.amzn1.x86_64