Debian dla-3316 : libecpg-compat3 - 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.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3316-1 [email protected] https://www.debian.org/lts/security/ Roberto C. Snchez February 10, 2023 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : postgresql-11 Version : 11.19-0+deb10u1 CVE ID : CVE-2022-41862

Jacob Champion discovered that libpq can leak memory contents after GSSAPI transport encryption initiation fails.

A modified server, or an unauthenticated man-in-the-middle, can send a not-zero-terminated error message during setup of GSSAPI (Kerberos) transport encryption. libpq will then copy that string, as well as following bytes in application memory up to the next zero byte, to its error report. Depending on what the calling application does with the error report, this could result in disclosure of application memory contents. There is also a small probability of a crash due to reading beyond the end of memory. Fix by properly zero-terminating the server message. (CVE-2022-41862)


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

We recommend that you upgrade your postgresql-11 packages.

For the detailed security status of postgresql-11 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/postgresql-11

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

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 libecpg-compat3 packages.

See Also

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

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.3

Type: local

Agent: unix

Published: 2/10/2023

Updated: 1/22/2025

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