RHEL 8 : postgresql:12 (RHSA-2020:5620)

high Nessus Plugin ID 144417

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-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://cwe.mitre.org/data/definitions/20.html

https://cwe.mitre.org/data/definitions/89.html

https://cwe.mitre.org/data/definitions/183.html

https://cwe.mitre.org/data/definitions/270.html

https://cwe.mitre.org/data/definitions/285.html

https://cwe.mitre.org/data/definitions/327.html

https://access.redhat.com/security/cve/CVE-2020-1720

https://access.redhat.com/security/cve/CVE-2020-14349

https://access.redhat.com/security/cve/CVE-2020-14350

https://access.redhat.com/security/cve/CVE-2020-25694

https://access.redhat.com/security/cve/CVE-2020-25695

https://access.redhat.com/security/cve/CVE-2020-25696

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

https://bugzilla.redhat.com/1798852

https://bugzilla.redhat.com/1865744

https://bugzilla.redhat.com/1865746

https://bugzilla.redhat.com/1894423

https://bugzilla.redhat.com/1894425

https://bugzilla.redhat.com/1894430

Plugin Details

Severity: High

ID: 144417

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

Version: 1.7

Type: local

Agent: unix

Published: 12/18/2020

Updated: 5/11/2022

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

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:redhat:enterprise_linux:8, cpe:/o:redhat:rhel_aus:8.4, cpe:/o:redhat:rhel_e4s:8.4, cpe:/o:redhat:rhel_eus:8.4, cpe:/o:redhat:rhel_tus:8.4, p-cpe:/a:redhat:enterprise_linux:pgaudit, p-cpe:/a:redhat:enterprise_linux:postgres-decoderbufs, p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql-plpython3, p-cpe:/a:redhat:enterprise_linux:postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-server-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-static, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:postgresql-test-rpm-macros, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade-devel

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

IAVB: 2020-B-0015-S, 2020-B-0047-S, 2020-B-0069-S

CWE: 20, 89, 183, 270, 285, 327