EulerOS 2.0 SP1 : postgresql (EulerOS-SA-2016-1058)

high Nessus Plugin ID 99820

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the postgresql packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- A flaw was found in the way PostgreSQL server handled certain SQL statements containing CASE/WHEN commands. A remote, authenticated attacker could use a specially crafted SQL statement to cause PostgreSQL to crash or disclose a few bytes of server memory or possibly execute arbitrary code.(CVE-2016-5423)

- A flaw was found in the way PostgreSQL client programs handled database and role names containing newlines, carriage returns, double quotes, or backslashes. By crafting such an object name, roles with the CREATEDB or CREATEROLE option could escalate their privileges to superuser when a superuser next executes maintenance with a vulnerable client program.(CVE-2016-5424i1/4%0

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected postgresql packages.

See Also

http://www.nessus.org/u?460d8cb3

Plugin Details

Severity: High

ID: 99820

File Name: EulerOS_SA-2016-1058.nasl

Version: 1.18

Type: local

Published: 5/1/2017

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:postgresql, p-cpe:/a:huawei:euleros:postgresql-contrib, p-cpe:/a:huawei:euleros:postgresql-devel, p-cpe:/a:huawei:euleros:postgresql-docs, p-cpe:/a:huawei:euleros:postgresql-libs, p-cpe:/a:huawei:euleros:postgresql-plperl, p-cpe:/a:huawei:euleros:postgresql-plpython, p-cpe:/a:huawei:euleros:postgresql-pltcl, p-cpe:/a:huawei:euleros:postgresql-server, p-cpe:/a:huawei:euleros:postgresql-test, cpe:/o:huawei:euleros:2.0

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

Excluded KB Items: Host/EulerOS/uvp_version

Patch Publication Date: 11/3/2016

Reference Information

CVE: CVE-2016-5423, CVE-2016-5424