Lucene search

K
amazonAmazonALAS-2017-885
HistoryAug 31, 2017 - 4:22 p.m.

Medium: postgresql94, postgresql95

2017-08-3116:22:00
alas.aws.amazon.com
17

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.28 Low

EPSS

Percentile

96.8%

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  

Additional References

Red Hat: CVE-2017-7546, CVE-2017-7547, CVE-2017-7548

Mitre: CVE-2017-7546, CVE-2017-7547, CVE-2017-7548

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.28 Low

EPSS

Percentile

96.8%