Amazon Linux AMI update for postgresql8



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2013-0255
CVE-2013-1900
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU32715

Risk: Low

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2013-0255

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote #AU# to perform a denial of service (DoS) attack.

PostgreSQL 9.2.x before 9.2.3, 9.1.x before 9.1.8, 9.0.x before 9.0.12, 8.4.x before 8.4.16, and 8.3.x before 8.3.23 does not properly declare the enum_recv function in backend/utils/adt/enum.c, which causes it to be invoked with incorrect arguments and allows remote authenticated users to cause a denial of service (server crash) or read sensitive process memory via a crafted SQL command, which triggers an array index error and an out-of-bounds read.

Mitigation

Update the affected packages:

i686:
    postgresql8-debuginfo-8.4.18-1.39.amzn1.i686
    postgresql8-devel-8.4.18-1.39.amzn1.i686
    postgresql8-libs-8.4.18-1.39.amzn1.i686
    postgresql8-server-8.4.18-1.39.amzn1.i686
    postgresql8-8.4.18-1.39.amzn1.i686
    postgresql8-contrib-8.4.18-1.39.amzn1.i686
    postgresql8-pltcl-8.4.18-1.39.amzn1.i686
    postgresql8-plpython-8.4.18-1.39.amzn1.i686
    postgresql8-test-8.4.18-1.39.amzn1.i686
    postgresql8-docs-8.4.18-1.39.amzn1.i686
    postgresql8-plperl-8.4.18-1.39.amzn1.i686

src:
    postgresql8-8.4.18-1.39.amzn1.src

x86_64:
    postgresql8-plpython-8.4.18-1.39.amzn1.x86_64
    postgresql8-8.4.18-1.39.amzn1.x86_64
    postgresql8-libs-8.4.18-1.39.amzn1.x86_64
    postgresql8-server-8.4.18-1.39.amzn1.x86_64
    postgresql8-pltcl-8.4.18-1.39.amzn1.x86_64
    postgresql8-devel-8.4.18-1.39.amzn1.x86_64
    postgresql8-plperl-8.4.18-1.39.amzn1.x86_64
    postgresql8-contrib-8.4.18-1.39.amzn1.x86_64
    postgresql8-docs-8.4.18-1.39.amzn1.x86_64
    postgresql8-debuginfo-8.4.18-1.39.amzn1.x86_64
    postgresql8-test-8.4.18-1.39.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2013-244.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Input validation error

EUVDB-ID: #VU33905

Risk: Medium

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2013-1900

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote #AU# to execute arbitrary code.

PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, and 8.4.x before 8.4.17, when using OpenSSL, generates insufficiently random numbers, which might allow remote authenticated users to have an unspecified impact via vectors related to the "contrib/pgcrypto functions." Per http://www.ubuntu.com/usn/USN-1789-1/ "A security issue affects these releases of Ubuntu and its derivatives: Ubuntu 12.10 Ubuntu 12.04 LTS Ubuntu 11.10 Ubuntu 10.04 LTS Ubuntu 8.04 LTS"

Mitigation

Update the affected packages:

i686:
    postgresql8-debuginfo-8.4.18-1.39.amzn1.i686
    postgresql8-devel-8.4.18-1.39.amzn1.i686
    postgresql8-libs-8.4.18-1.39.amzn1.i686
    postgresql8-server-8.4.18-1.39.amzn1.i686
    postgresql8-8.4.18-1.39.amzn1.i686
    postgresql8-contrib-8.4.18-1.39.amzn1.i686
    postgresql8-pltcl-8.4.18-1.39.amzn1.i686
    postgresql8-plpython-8.4.18-1.39.amzn1.i686
    postgresql8-test-8.4.18-1.39.amzn1.i686
    postgresql8-docs-8.4.18-1.39.amzn1.i686
    postgresql8-plperl-8.4.18-1.39.amzn1.i686

src:
    postgresql8-8.4.18-1.39.amzn1.src

x86_64:
    postgresql8-plpython-8.4.18-1.39.amzn1.x86_64
    postgresql8-8.4.18-1.39.amzn1.x86_64
    postgresql8-libs-8.4.18-1.39.amzn1.x86_64
    postgresql8-server-8.4.18-1.39.amzn1.x86_64
    postgresql8-pltcl-8.4.18-1.39.amzn1.x86_64
    postgresql8-devel-8.4.18-1.39.amzn1.x86_64
    postgresql8-plperl-8.4.18-1.39.amzn1.x86_64
    postgresql8-contrib-8.4.18-1.39.amzn1.x86_64
    postgresql8-docs-8.4.18-1.39.amzn1.x86_64
    postgresql8-debuginfo-8.4.18-1.39.amzn1.x86_64
    postgresql8-test-8.4.18-1.39.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2013-244.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###