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

high Nessus Plugin ID 143461
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Debian host is missing a security update.


Several vulnerabilities have been found in the PostgreSQL database system.


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.


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


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:

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.


Upgrade the affected packages.

See Also

Plugin Details

Severity: High

ID: 143461

File Name: debian_DLA-2478.nasl

Version: 1.7

Type: local

Agent: unix

Published: 12/3/2020

Updated: 6/21/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2020-25696


Risk Factor: High

Score: 7.4


Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: AV:N/AC:H/Au:N/C:C/I:C/A:C

Temporal Vector: E:U/RL:OF/RC:C


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

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