Amazon Linux 2 : libpq (ALASPOSTGRESQL14-2024-009)

medium Nessus Plugin ID 191590

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of libpq installed on the remote host is prior to 14.1-2. It is, therefore, affected by a vulnerability as referenced in the ALAS2POSTGRESQL14-2024-009 advisory.

- A man-in-the-middle attacker can inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption. (CVE-2021-23222)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update libpq' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASPOSTGRESQL14-2024-009.html

https://alas.aws.amazon.com/cve/html/CVE-2021-23222.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 191590

File Name: al2_ALASPOSTGRESQL14-2024-009.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/6/2024

Updated: 3/6/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2021-23222

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libpq, p-cpe:/a:amazon:linux:libpq-devel, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:libpq-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/29/2024

Vulnerability Publication Date: 11/11/2021

Reference Information

CVE: CVE-2021-23222