Debian DLA-1994-1 : postgresql-common security update

high Nessus Plugin ID 131085

Synopsis

The remote Debian host is missing a security update.

Description

Rich Mirch discovered that the pg_ctlcluster script didn't drop privileges when creating socket/statistics temporary directories, which could result in local privilege escalation.

For the oldoldstable distribution (jessie), this problem has been fixed in version 165+deb8u4.

We recommend that you upgrade your postgresql-common packages.

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

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/2019/11/msg00014.html

https://packages.debian.org/source/jessie/postgresql-common

http://www.nessus.org/u?1fbac7f5

Plugin Details

Severity: High

ID: 131085

File Name: debian_DLA-1994.nasl

Version: 1.7

Type: local

Agent: unix

Published: 11/18/2019

Updated: 4/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2019-3466

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:postgresql, p-cpe:/a:debian:debian_linux:postgresql-client, p-cpe:/a:debian:debian_linux:postgresql-client-common, p-cpe:/a:debian:debian_linux:postgresql-common, p-cpe:/a:debian:debian_linux:postgresql-contrib, p-cpe:/a:debian:debian_linux:postgresql-doc, p-cpe:/a:debian:debian_linux:postgresql-server-dev-all, cpe:/o:debian:debian_linux:8.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/15/2019

Vulnerability Publication Date: 11/20/2019

Reference Information

CVE: CVE-2019-3466