Amazon Linux AMI : postgresql8 (ALAS-2015-503)

critical Nessus Plugin ID 82831

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

An information leak flaw was found in the way the PostgreSQL database server handled certain error messages. An authenticated database user could possibly obtain the results of a query they did not have privileges to execute by observing the constraint violation error messages produced when the query was executed. (CVE-2014-8161)

A buffer overflow flaw was found in the way PostgreSQL handled certain numeric formatting. An authenticated database user could use a specially crafted timestamp formatting template to cause PostgreSQL to crash or, under certain conditions, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2015-0241)

A stack-buffer overflow flaw was found in PostgreSQL's pgcrypto module. An authenticated database user could use this flaw to cause PostgreSQL to crash or, potentially, execute arbitrary code with the permissions of the user running PostgreSQL. (CVE-2015-0243)

A flaw was found in the way PostgreSQL handled certain errors that were generated during protocol synchronization. An authenticated database user could use this flaw to inject queries into an existing connection. (CVE-2015-0244)

Solution

Run 'yum update postgresql8' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2015-503.html

Plugin Details

Severity: Critical

ID: 82831

File Name: ala_ALAS-2015-503.nasl

Version: 1.6

Type: local

Agent: unix

Published: 4/17/2015

Updated: 2/3/2020

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:postgresql8-devel, p-cpe:/a:amazon:linux:postgresql8-contrib, p-cpe:/a:amazon:linux:postgresql8, p-cpe:/a:amazon:linux:postgresql8-plperl, p-cpe:/a:amazon:linux:postgresql8-pltcl, p-cpe:/a:amazon:linux:postgresql8-plpython, p-cpe:/a:amazon:linux:postgresql8-server, p-cpe:/a:amazon:linux:postgresql8-test, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:postgresql8-libs, p-cpe:/a:amazon:linux:postgresql8-debuginfo, p-cpe:/a:amazon:linux:postgresql8-docs

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 4/15/2015

Vulnerability Publication Date: 1/27/2020

Reference Information

CVE: CVE-2014-8161, CVE-2015-0241, CVE-2015-0243, CVE-2015-0244

ALAS: 2015-503

RHSA: 2015:0750