Amazon Linux AMI update for postgresql95

Published: 2018-12-07 10:04:11 | Updated: 2018-12-07
Severity Low
Patch available YES
Number of vulnerabilities 2
CVE ID CVE-2018-10925
CVE-2018-10915
CVSSv3 3.8 [CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]
6.4 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]
CWE ID CWE-200
CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software Amazon Linux AMI
Vulnerable software versions Amazon Linux AMI 2017.03
Vendor URL Amazon Web Services, Inc.

Security Advisory

1) Information disclosure

Description

The vulnerability allows a remote privileged attacker to obtain potentially sensitive information.

The vulnerability exists due to improper check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". A remote attacker with "CREATE TABLE" privileges can read arbitrary bytes server memory.

Remediation

Update the affected packages.

i686:
    postgresql95-debuginfo-9.5.15-1.80.amzn1.i686
    postgresql95-docs-9.5.15-1.80.amzn1.i686
    postgresql95-plpython27-9.5.15-1.80.amzn1.i686
    postgresql95-9.5.15-1.80.amzn1.i686
    postgresql95-test-9.5.15-1.80.amzn1.i686
    postgresql95-server-9.5.15-1.80.amzn1.i686
    postgresql95-contrib-9.5.15-1.80.amzn1.i686
    postgresql95-devel-9.5.15-1.80.amzn1.i686
    postgresql95-plperl-9.5.15-1.80.amzn1.i686
    postgresql95-static-9.5.15-1.80.amzn1.i686
    postgresql95-plpython26-9.5.15-1.80.amzn1.i686
    postgresql95-libs-9.5.15-1.80.amzn1.i686

src:
    postgresql95-9.5.15-1.80.amzn1.src

x86_64:
    postgresql95-static-9.5.15-1.80.amzn1.x86_64
    postgresql95-plpython27-9.5.15-1.80.amzn1.x86_64
    postgresql95-devel-9.5.15-1.80.amzn1.x86_64
    postgresql95-plperl-9.5.15-1.80.amzn1.x86_64
    postgresql95-server-9.5.15-1.80.amzn1.x86_64
    postgresql95-docs-9.5.15-1.80.amzn1.x86_64
    postgresql95-debuginfo-9.5.15-1.80.amzn1.x86_64
    postgresql95-contrib-9.5.15-1.80.amzn1.x86_64
    postgresql95-libs-9.5.15-1.80.amzn1.x86_64
    postgresql95-plpython26-9.5.15-1.80.amzn1.x86_64
    postgresql95-test-9.5.15-1.80.amzn1.x86_64
    postgresql95-9.5.15-1.80.amzn1.x86_64

External links

https://alas.aws.amazon.com/ALAS-2018-1118.html

2) SQL injection

Description

The vulnerability allows a remote attacker to execute arbitrary SQL commands in web application database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted HTTP request to vulnerable script and execute arbitrary SQL commands in web application database.

Successful exploitation of the vulnerability may allow an attacker to gain administrative access to vulnerable web application.

Remediation

Update the affected packages.

i686:
    postgresql95-debuginfo-9.5.15-1.80.amzn1.i686
    postgresql95-docs-9.5.15-1.80.amzn1.i686
    postgresql95-plpython27-9.5.15-1.80.amzn1.i686
    postgresql95-9.5.15-1.80.amzn1.i686
    postgresql95-test-9.5.15-1.80.amzn1.i686
    postgresql95-server-9.5.15-1.80.amzn1.i686
    postgresql95-contrib-9.5.15-1.80.amzn1.i686
    postgresql95-devel-9.5.15-1.80.amzn1.i686
    postgresql95-plperl-9.5.15-1.80.amzn1.i686
    postgresql95-static-9.5.15-1.80.amzn1.i686
    postgresql95-plpython26-9.5.15-1.80.amzn1.i686
    postgresql95-libs-9.5.15-1.80.amzn1.i686

src:
    postgresql95-9.5.15-1.80.amzn1.src

x86_64:
    postgresql95-static-9.5.15-1.80.amzn1.x86_64
    postgresql95-plpython27-9.5.15-1.80.amzn1.x86_64
    postgresql95-devel-9.5.15-1.80.amzn1.x86_64
    postgresql95-plperl-9.5.15-1.80.amzn1.x86_64
    postgresql95-server-9.5.15-1.80.amzn1.x86_64
    postgresql95-docs-9.5.15-1.80.amzn1.x86_64
    postgresql95-debuginfo-9.5.15-1.80.amzn1.x86_64
    postgresql95-contrib-9.5.15-1.80.amzn1.x86_64
    postgresql95-libs-9.5.15-1.80.amzn1.x86_64
    postgresql95-plpython26-9.5.15-1.80.amzn1.x86_64
    postgresql95-test-9.5.15-1.80.amzn1.x86_64
    postgresql95-9.5.15-1.80.amzn1.x86_64

External links

https://alas.aws.amazon.com/ALAS-2018-1118.html

Back to List