CentOS 8 : postgresql:12 (CESA-2020:5620)

high Nessus Plugin ID 146002

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:5620 advisory.

- postgresql: Uncontrolled search path element in logical replication (CVE-2020-14349)

- 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:5620

Plugin Details

Severity: High

ID: 146002

File Name: centos8_RHSA-2020-5620.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, 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-upgrade-devel, 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-docs, p-cpe:/a:centos:centos:postgresql-plperl, p-cpe:/a:centos:centos:postgresql-upgrade, p-cpe:/a:centos:centos:postgresql-test-rpm-macros, p-cpe:/a:centos:centos:postgres-decoderbufs, p-cpe:/a:centos:centos:postgresql-plpython3, p-cpe:/a:centos:centos:postgresql-static, p-cpe:/a:centos:centos:pgaudit

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: 2/13/2020

Reference Information

CVE: CVE-2020-14349, CVE-2020-14350, CVE-2020-1720, CVE-2020-25694, CVE-2020-25695, CVE-2020-25696

RHSA: 2020:5620