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 this issue 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.5

Type: local

Agent: unix

Published: 2/1/2021

Updated: 5/10/2022

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

Temporal Vector: E:U/RL:OF/RC: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: E:U/RL:O/RC:C

CVSS Score Source: CVE-2020-25695

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/17/2020

Vulnerability Publication Date: 2/13/2020

Reference Information

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

RHSA: 2020:5620