Debian DLA-2478-1 : postgresql-9.6 security update

high Nessus Plugin ID 143461

Synopsis

The remote Debian host is missing a security update.

Description

Several vulnerabilities have been found in the PostgreSQL database system.

CVE-2020-25694

Peter Eisentraut found that database reconnections may drop options from the original connection, such as encryption, which could lead to information disclosure or a man-in-the-middle attack.

CVE-2020-25695

Etienne Stalmans reported that a user with permissions to create non-temporary objects in an schema can execute arbitrary SQL functions as a superuser.

CVE-2020-25696

Nick Cleaton found that the \gset command modified variables that control the psql behaviour, which could result in a compromised or malicious server executing arbitrary code in the user session.

For Debian 9 stretch, these problems have been fixed in version 9.6.20-0+deb9u1.

We recommend that you upgrade your postgresql-9.6 packages.

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

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

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html

https://packages.debian.org/source/stretch/postgresql-9.6

http://www.nessus.org/u?350b32e8

Plugin Details

Severity: High

ID: 143461

File Name: debian_DLA-2478.nasl

Version: 1.9

Type: local

Agent: unix

Published: 12/3/2020

Updated: 2/7/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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-2020-25696

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

CVSS Score Source: CVE-2020-25695

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libecpg-compat3, p-cpe:/a:debian:debian_linux:libecpg-dev, p-cpe:/a:debian:debian_linux:libecpg6, p-cpe:/a:debian:debian_linux:libpgtypes3, p-cpe:/a:debian:debian_linux:libpq-dev, p-cpe:/a:debian:debian_linux:libpq5, p-cpe:/a:debian:debian_linux:postgresql-9.6, p-cpe:/a:debian:debian_linux:postgresql-9.6-dbg, p-cpe:/a:debian:debian_linux:postgresql-client-9.6, p-cpe:/a:debian:debian_linux:postgresql-contrib-9.6, p-cpe:/a:debian:debian_linux:postgresql-doc-9.6, p-cpe:/a:debian:debian_linux:postgresql-plperl-9.6, p-cpe:/a:debian:debian_linux:postgresql-plpython-9.6, p-cpe:/a:debian:debian_linux:postgresql-plpython3-9.6, p-cpe:/a:debian:debian_linux:postgresql-pltcl-9.6, p-cpe:/a:debian:debian_linux:postgresql-server-dev-9.6, cpe:/o:debian:debian_linux:9.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/2/2020

Vulnerability Publication Date: 11/16/2020

Reference Information

CVE: CVE-2020-25694, CVE-2020-25695, CVE-2020-25696

IAVB: 2020-B-0069-S