CentOS 8 : postgresql:9.6 (CESA-2020:5619)

high Nessus Plugin ID 146009

Synopsis

The remote CentOS host is missing one or more security updates.

Description

The remote CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the CESA-2020:5619 advisory.

- postgresql: Selectivity estimators bypass row security policies (CVE-2019-10130)

- postgresql: TYPE in pg_temp executes arbitrary SQL during SECURITY DEFINER execution (CVE-2019-10208)

- postgresql: Uncontrolled search path element in CREATE EXTENSION (CVE-2020-14350)

- postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization checks (CVE-2020-1720)

- postgresql: Reconnection can downgrade connection security settings (CVE-2020-25694)

- postgresql: Multiple features escape security restricted operation sandbox (CVE-2020-25695)

- postgresql: psql's \gset allows overwriting specially treated variables (CVE-2020-25696)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/errata/RHSA-2020:5619

Plugin Details

Severity: High

ID: 146009

File Name: centos8_RHSA-2020-5619.nasl

Version: 1.6

Type: local

Agent: unix

Published: 2/1/2021

Updated: 2/8/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2020-25696

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

CVSS Score Source: CVE-2020-25695

Vulnerability Information

CPE: p-cpe:/a:centos:centos:postgresql-contrib, p-cpe:/a:centos:centos:postgresql, p-cpe:/a:centos:centos:postgresql-pltcl, cpe:/o:centos:centos:8, p-cpe:/a:centos:centos:postgresql-server-devel, p-cpe:/a:centos:centos:postgresql-server, p-cpe:/a:centos:centos:postgresql-test, p-cpe:/a:centos:centos:postgresql-plperl, p-cpe:/a:centos:centos:postgresql-docs, p-cpe:/a:centos:centos:postgresql-test-rpm-macros, p-cpe:/a:centos:centos:postgresql-plpython3, p-cpe:/a:centos:centos:postgresql-static

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/17/2020

Vulnerability Publication Date: 5/9/2019

Reference Information

CVE: CVE-2019-10130, CVE-2019-10208, CVE-2020-14350, CVE-2020-1720, CVE-2020-25694, CVE-2020-25695, CVE-2020-25696

BID: 108452

RHSA: 2020:5619