EulerOS 2.0 SP8 : postgresql (EulerOS-SA-2020-2156)

high Nessus Plugin ID 141004

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 :

- It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.(CVE-2020-14349)

- It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially crafted script, during the installation or update of such extension.(CVE-2020-14350)

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?98abf27e

Plugin Details

Severity: High

ID: 141004

File Name: EulerOS_SA-2020-2156.nasl

Version: 1.5

Type: local

Published: 9/29/2020

Updated: 5/12/2022

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2020-14349

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

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

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

CVSS Score Source: CVE-2020-14350

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/29/2020

Reference Information

CVE: CVE-2020-14349, CVE-2020-14350