RHEL 8 : postgresql:12 (RHSA-2021:2389)

high Nessus Plugin ID 150759
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-2021:2389 advisory.

- postgresql: Buffer overrun from integer overflow in array subscripting calculations (CVE-2021-32027)

- postgresql: Memory disclosure in INSERT ... ON CONFLICT ... DO UPDATE (CVE-2021-32028)

- postgresql: Memory disclosure in partitioned-table UPDATE ... RETURNING (CVE-2021-32029)

- postgresql: Partition constraint violation errors leak values of denied columns (CVE-2021-3393)

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/119.html

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

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

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

https://access.redhat.com/security/cve/CVE-2021-3393

https://access.redhat.com/security/cve/CVE-2021-32027

https://access.redhat.com/security/cve/CVE-2021-32028

https://access.redhat.com/security/cve/CVE-2021-32029

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

https://bugzilla.redhat.com/1924005

https://bugzilla.redhat.com/1956876

https://bugzilla.redhat.com/1956877

https://bugzilla.redhat.com/1956883

Plugin Details

Severity: High

ID: 150759

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

Version: 1.6

Type: local

Agent: unix

Published: 6/14/2021

Updated: 10/7/2021

Dependencies: ssh_get_info.nasl, redhat_repos.nasl

Risk Information

CVSS Score Source: CVE-2021-32027

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

Temporal Vector: E:U/RL:OF/RC:C

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

Vulnerability Information

CPE: cpe:/o:redhat:rhel_aus:8.2, cpe:/o:redhat:rhel_e4s:8.2, cpe:/o:redhat:rhel_eus:8.2, cpe:/o:redhat:rhel_tus:8.2, 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: 6/14/2021

Vulnerability Publication Date: 2/11/2021

Reference Information

CVE: CVE-2021-3393, CVE-2021-32027, CVE-2021-32028, CVE-2021-32029

RHSA: 2021:2389

IAVB: 2021-B-0036-S

CWE: 119, 190, 200, 209