RHEL 7 : rh-postgresql96-postgresql (RHSA-2020:4295)

high Nessus Plugin ID 170310

Synopsis

The remote Red Hat host is missing one or more security updates for rh-postgresql96-postgresql.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:4295 advisory.

PostgreSQL is an advanced object-relational database management system (DBMS).

The following packages have been upgraded to a later upstream version: rh-postgresql96-postgresql (9.6.19). (BZ#1881766, BZ#1881769, BZ#1881771, BZ#1881773)

Security Fix(es):

* 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: Selectivity estimators bypass row security policies (CVE-2019-10130)

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

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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 RHEL rh-postgresql96-postgresql package based on the guidance in RHSA-2020:4295.

See Also

http://www.nessus.org/u?3dd04deb

https://access.redhat.com/security/updates/classification/#moderate

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

https://bugzilla.redhat.com/show_bug.cgi?id=1707109

https://bugzilla.redhat.com/show_bug.cgi?id=1734416

https://bugzilla.redhat.com/show_bug.cgi?id=1798852

https://bugzilla.redhat.com/show_bug.cgi?id=1865746

Plugin Details

Severity: High

ID: 170310

File Name: redhat-RHSA-2020-4295.nasl

Version: 1.4

Type: local

Agent: unix

Published: 1/23/2023

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS Score Source: CVE-2019-10208

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-plperl, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-libs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-plpython, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-static, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-docs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-syspaths, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-test, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-contrib-syspaths, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-devel, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-server-syspaths

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/21/2020

Vulnerability Publication Date: 5/9/2019

Reference Information

CVE: CVE-2019-10130, CVE-2019-10208, CVE-2020-14350, CVE-2020-1720

CWE: 20, 284, 285, 89

RHSA: 2020:4295