RHEL 8 : libpq (RHSA-2021:0057)

high Nessus Plugin ID 144850

Synopsis

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

Description

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

The libpq package provides the PostgreSQL client library, which allows client programs to connect to PostgreSQL servers.

The following packages have been upgraded to a later upstream version: libpq (12.5). (BZ#1898227, BZ#1901559)

Security Fix(es):

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

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

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 libpq package based on the guidance in RHSA-2021:0057.

See Also

http://www.nessus.org/u?99ca182a

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

https://access.redhat.com/errata/RHSA-2021:0057

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

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

Plugin Details

Severity: High

ID: 144850

File Name: redhat-RHSA-2021-0057.nasl

Version: 1.14

Type: local

Agent: unix

Published: 1/11/2021

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Important

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.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/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-25694

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:libpq, cpe:/o:redhat:rhel_eus:8.2, p-cpe:/a:redhat:enterprise_linux:libpq-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: 1/11/2021

Vulnerability Publication Date: 11/12/2020

Reference Information

CVE: CVE-2020-25694, CVE-2020-25696

CWE: 270, 327

IAVB: 2020-B-0069-S

RHSA: 2021:0057