GLSA-201810-08 : PostgreSQL: Multiple vulnerabilities

critical Nessus Plugin ID 118508

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201810-08 (PostgreSQL: Multiple vulnerabilities)

Multiple vulnerabilities have been discovered in PostgreSQL. Please review the referenced CVE identifiers for details.
In addition it was discovered that Gentoo’s PostgreSQL installation suffered from a privilege escalation vulnerability due to a runscript which called OpenRC’s checkpath() on a user controlled path and allowed user running PostgreSQL to kill arbitrary processes via PID file manipulation.
Impact :

A remote attacker could bypass certain client-side connection security features, read arbitrary server memory or alter certain data.
In addition, a local attacker could gain privileges or cause a Denial of Service condition by killing arbitrary processes.
Workaround :

There is no known workaround at this time.

Solution

All PostgreSQL users up to 9.3 should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/postgresql-9.3.24:9.3' All PostgreSQL 9.4 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/postgresql-9.4.19:9.4' All PostgreSQL 9.5 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/postgresql-9.5.14:9.5' All PostgreSQL 9.6 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/postgresql-9.6.10:9.6' All PostgreSQL 10 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-db/postgresql-10.5:10'

See Also

https://security.gentoo.org/glsa/201810-08

Plugin Details

Severity: Critical

ID: 118508

File Name: gentoo_GLSA-201810-08.nasl

Version: 1.2

Type: local

Published: 10/31/2018

Updated: 1/31/2022

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P

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

CVSS Score Source: CVE-2018-1115

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:postgresql, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/30/2018

Vulnerability Publication Date: 5/10/2018

Reference Information

CVE: CVE-2018-10915, CVE-2018-10925, CVE-2018-1115

GLSA: 201810-08