Debian DLA-3316-1 : postgresql-11 - LTS security update

low Nessus Plugin ID 171363

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3316 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

Upgrade the postgresql-11 packages.

For Debian 10 buster, this problem has been fixed in version 11.19-0+deb10u1.

See Also

http://www.nessus.org/u?4e0872ee

https://www.debian.org/lts/security/2023/dla-3316

https://security-tracker.debian.org/tracker/CVE-2022-41862

https://packages.debian.org/source/buster/postgresql-11

Plugin Details

Severity: Low

ID: 171363

File Name: debian_DLA-3316.nasl

Version: 1.2

Type: local

Agent: unix

Published: 2/10/2023

Updated: 5/19/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, 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: p-cpe:/a:debian:debian_linux:libecpg-compat3, p-cpe:/a:debian:debian_linux:postgresql-plpython-11, p-cpe:/a:debian:debian_linux:libecpg6, p-cpe:/a:debian:debian_linux:libecpg-dev, p-cpe:/a:debian:debian_linux:libpq5, p-cpe:/a:debian:debian_linux:postgresql-client-11, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:postgresql-doc-11, p-cpe:/a:debian:debian_linux:postgresql-pltcl-11, p-cpe:/a:debian:debian_linux:postgresql-plpython3-11, p-cpe:/a:debian:debian_linux:postgresql-server-dev-11, p-cpe:/a:debian:debian_linux:libpq-dev, p-cpe:/a:debian:debian_linux:postgresql-11, p-cpe:/a:debian:debian_linux:postgresql-plperl-11, p-cpe:/a:debian:debian_linux:libpgtypes3

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/10/2023

Vulnerability Publication Date: 2/9/2023

Reference Information

CVE: CVE-2022-41862

IAVB: 2023-B-0009-S