Alibaba Cloud Linux 3 : 0136: postgresql:13 (ALINUX3-SA-2022:0136)

high Nessus Plugin ID 236581

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2022:0136 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2021-23214:
It was found that a PostgreSQL server could accept plain text data during the establishment of an SSL connection. When a user is requesting a certificate based authentication, an active Person in the Middle could use this flaw in order to inject arbitrary SQL commands.

CVE-2021-3677:
A flaw was found in postgresql. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.

CVE-2022-1552:
** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.

Tenable has extracted the preceding description block directly from the Alibaba Cloud 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 affected packages.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20220136.xml

Plugin Details

Severity: High

ID: 236581

File Name: alinux3_sa_2022-0136.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

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

CVSS Score Source: CVE-2021-23214

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

CVSS Score Source: CVE-2022-1552

Vulnerability Information

CPE: p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-docs-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-pltcl, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-server-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-upgrade-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-upgrade-devel-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-plpython3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-test-rpm-macros, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-plpython3-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-upgrade-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-test-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-contrib, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-server-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-docs, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-plperl, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:pgaudit, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-server, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-contrib-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:pgaudit-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-pltcl-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-plperl-debuginfo, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-server-devel-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:pgaudit-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-upgrade, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-test, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:postgresql-static

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/21/2022

Vulnerability Publication Date: 8/12/2021

Reference Information

CVE: CVE-2021-23214, CVE-2021-3677, CVE-2022-1552