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

medium Nessus Plugin ID 136865

Synopsis

The remote EulerOS host is missing a security update.

Description

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

- A flaw was found in PostgreSQL's 'ALTER ... DEPENDS ON EXTENSION', where sub-commands did not perform authorization checks. An authenticated attacker could use this flaw in certain configurations to perform drop objects such as function, triggers, et al., leading to database corruption. This issue affects PostgreSQL versions before 12.2, before 11.7, before 10.12 and before 9.6.17.(CVE-2020-1720)

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 package.

See Also

http://www.nessus.org/u?6a174641

Plugin Details

Severity: Medium

ID: 136865

File Name: EulerOS_SA-2020-1587.nasl

Version: 1.8

Type: local

Published: 5/26/2020

Updated: 5/13/2022

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

CVSS Score Source: CVE-2020-1720

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/28/2020

Reference Information

CVE: CVE-2020-1720