Ubuntu 20.04 LTS / 22.04 LTS : PostgreSQL vulnerability (USN-5906-1)

low Nessus Plugin ID 172050

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 20.04 LTS / 22.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-5906-1 advisory.

- PostgreSQL Project reports: A modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption. When a libpq client application has a Kerberos credential cache and doesn't explicitly disable option gssencmode, a server can cause libpq to over-read and report an error message containing uninitialized bytes from and following its receive buffer. If libpq's caller somehow makes that message accessible to the attacker, this achieves a disclosure of the over-read bytes. We have not confirmed or ruled out viability of attacks that arrange for a crash or for presence of notable, confidential information in disclosed bytes. (CVE-2022-41862)

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://ubuntu.com/security/notices/USN-5906-1

Plugin Details

Severity: Low

ID: 172050

File Name: ubuntu_USN-5906-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 3/2/2023

Updated: 10/20/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

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

CVSS Score Source: CVE-2022-41862

CVSS v3

Risk Factor: Low

Base Score: 3.7

Temporal Score: 3.2

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libecpg-compat3, p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:libecpg6, p-cpe:/a:canonical:ubuntu_linux:libpgtypes3, p-cpe:/a:canonical:ubuntu_linux:libpq-dev, p-cpe:/a:canonical:ubuntu_linux:libpq5, p-cpe:/a:canonical:ubuntu_linux:postgresql-12, p-cpe:/a:canonical:ubuntu_linux:postgresql-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-12, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-12, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-12, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-12, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-12, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-14

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 3/2/2023

Vulnerability Publication Date: 2/9/2023

Reference Information

CVE: CVE-2022-41862

IAVB: 2023-B-0009-S

USN: 5906-1