ALAS-2017-885


Amazon Linux 1 Security Advisory: ALAS-2017-885
Advisory Release Date: 2017-08-31 16:22 Pacific
Advisory Updated Date: 2017-08-31 23:13 Pacific
Severity: Medium

Issue Overview:

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)

lo_put() function ignores ACLs:
An authorization flaw was found in the way PostgreSQL handled large objects. A remote authenticated attacker with no privileges on a large object could potentially use this flaw to overwrite the entire content of the object, thus resulting in denial of service. (CVE-2017-7548)


Affected Packages:

postgresql94, postgresql95


Issue Correction:
Run yum update postgresql94 to update your system.
Run yum update postgresql95 to update your system.

New Packages:
i686:
    postgresql94-plpython26-9.4.13-1.69.amzn1.i686
    postgresql94-contrib-9.4.13-1.69.amzn1.i686
    postgresql94-plperl-9.4.13-1.69.amzn1.i686
    postgresql94-server-9.4.13-1.69.amzn1.i686
    postgresql94-devel-9.4.13-1.69.amzn1.i686
    postgresql94-9.4.13-1.69.amzn1.i686
    postgresql94-libs-9.4.13-1.69.amzn1.i686
    postgresql94-plpython27-9.4.13-1.69.amzn1.i686
    postgresql94-test-9.4.13-1.69.amzn1.i686
    postgresql94-debuginfo-9.4.13-1.69.amzn1.i686
    postgresql94-docs-9.4.13-1.69.amzn1.i686
    postgresql95-debuginfo-9.5.8-1.73.amzn1.i686
    postgresql95-test-9.5.8-1.73.amzn1.i686
    postgresql95-plperl-9.5.8-1.73.amzn1.i686
    postgresql95-libs-9.5.8-1.73.amzn1.i686
    postgresql95-plpython26-9.5.8-1.73.amzn1.i686
    postgresql95-static-9.5.8-1.73.amzn1.i686
    postgresql95-devel-9.5.8-1.73.amzn1.i686
    postgresql95-contrib-9.5.8-1.73.amzn1.i686
    postgresql95-server-9.5.8-1.73.amzn1.i686
    postgresql95-plpython27-9.5.8-1.73.amzn1.i686
    postgresql95-docs-9.5.8-1.73.amzn1.i686
    postgresql95-9.5.8-1.73.amzn1.i686

src:
    postgresql94-9.4.13-1.69.amzn1.src
    postgresql95-9.5.8-1.73.amzn1.src

x86_64:
    postgresql94-9.4.13-1.69.amzn1.x86_64
    postgresql94-debuginfo-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython27-9.4.13-1.69.amzn1.x86_64
    postgresql94-devel-9.4.13-1.69.amzn1.x86_64
    postgresql94-docs-9.4.13-1.69.amzn1.x86_64
    postgresql94-plpython26-9.4.13-1.69.amzn1.x86_64
    postgresql94-test-9.4.13-1.69.amzn1.x86_64
    postgresql94-plperl-9.4.13-1.69.amzn1.x86_64
    postgresql94-server-9.4.13-1.69.amzn1.x86_64
    postgresql94-contrib-9.4.13-1.69.amzn1.x86_64
    postgresql94-libs-9.4.13-1.69.amzn1.x86_64
    postgresql95-9.5.8-1.73.amzn1.x86_64
    postgresql95-libs-9.5.8-1.73.amzn1.x86_64
    postgresql95-contrib-9.5.8-1.73.amzn1.x86_64
    postgresql95-docs-9.5.8-1.73.amzn1.x86_64
    postgresql95-plperl-9.5.8-1.73.amzn1.x86_64
    postgresql95-devel-9.5.8-1.73.amzn1.x86_64
    postgresql95-test-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython26-9.5.8-1.73.amzn1.x86_64
    postgresql95-plpython27-9.5.8-1.73.amzn1.x86_64
    postgresql95-server-9.5.8-1.73.amzn1.x86_64
    postgresql95-debuginfo-9.5.8-1.73.amzn1.x86_64
    postgresql95-static-9.5.8-1.73.amzn1.x86_64