EulerOS 2.0 SP8 : postgresql-10.5 (EulerOS-SA-2023-1346)

high Nessus Plugin ID 171204

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the postgresql-10.5 packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- Odyssey passes to server unencrypted bytes from man-in-the-middle When Odyssey is configured to use certificate Common Name for client authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of SSL certificate verification and encryption. This is similar to CVE-2021-23214 for PostgreSQL. (CVE-2021-43766)

- Odyssey passes to client unencrypted bytes from man-in-the-middle When Odyssey storage is configured to use the PostgreSQL server using 'trust' authentication with a 'clientcert' requirement or to use 'cert' authentication, 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, Odyssey will pass these results to client as if they originated from valid server. This is similar to CVE-2021-23222 for PostgreSQL.
(CVE-2021-43767)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected postgresql-10.5 packages.

See Also

http://www.nessus.org/u?f8ba7350

Plugin Details

Severity: High

ID: 171204

File Name: EulerOS_SA-2023-1346.nasl

Version: 1.0

Type: local

Published: 2/8/2023

Updated: 2/8/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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-2021-43766

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:postgresql, p-cpe:/a:huawei:euleros:postgresql-contrib, p-cpe:/a:huawei:euleros:postgresql-devel, p-cpe:/a:huawei:euleros:postgresql-docs, p-cpe:/a:huawei:euleros:postgresql-libs, p-cpe:/a:huawei:euleros:postgresql-plperl, p-cpe:/a:huawei:euleros:postgresql-plpython, p-cpe:/a:huawei:euleros:postgresql-pltcl, p-cpe:/a:huawei:euleros:postgresql-server, p-cpe:/a:huawei:euleros:postgresql-test, cpe:/o:huawei:euleros:2.0

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

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Ease: No known exploits are available

Patch Publication Date: 2/8/2023

Vulnerability Publication Date: 8/25/2022

Reference Information

CVE: CVE-2021-43766, CVE-2021-43767