openSUSE Security Update : postgresql96 (openSUSE-2018-638)

critical Nessus Plugin ID 110588

Language:

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.

Synopsis

The remote openSUSE host is missing a security update.

Description

PostgreSQL was updated to 9.6.9 fixing bugs and security issues :

Release notes :

- https://www.postgresql.org/about/news/1851/

- https://www.postgresql.org/docs/current/static/release-9-6-9.html

A dump/restore is not required for those running 9.6.X.
However, if you use the adminpack extension, you should update it as per the first changelog entry below. Also, if the function marking mistakes mentioned in the second and third changelog entries below affect you, you will want to take steps to correct your database catalogs.

Security issue fixed :

- CVE-2018-1115: Remove public execute privilege from contrib/adminpack's pg_logfile_rotate() function pg_logfile_rotate() is a deprecated wrapper for the core function pg_rotate_logfile(). When that function was changed to rely on SQL privileges for access control rather than a hard-coded superuser check, pg_logfile_rotate() should have been updated as well, but the need for this was missed. Hence, if adminpack is installed, any user could request a logfile rotation, creating a minor security issue. After installing this update, administrators should update adminpack by performing ALTER EXTENSION adminpack UPDATE in each database in which adminpack is installed. (bsc#1091610)

This update was imported from the SUSE:SLE-12:Update update project.

Solution

Update the affected postgresql96 packages.

See Also

https://www.postgresql.org/about/news/1851/

https://www.postgresql.org/docs/current/release-9-6-9.html

https://bugzilla.opensuse.org/show_bug.cgi?id=1091610

Plugin Details

Severity: Critical

ID: 110588

File Name: openSUSE-2018-638.nasl

Version: 1.7

Type: local

Agent: unix

Published: 6/18/2018

Updated: 1/19/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

CVSS v3

Risk Factor: Critical

Base Score: 9.1

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

Vulnerability Information

CPE: cpe:2.3:o:novell:opensuse:42.3:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libecpg6:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libecpg6-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libpq5:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libpq5-32bit:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libpq5-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libpq5-debuginfo-32bit:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libecpg6-32bit:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:libecpg6-debuginfo-32bit:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-contrib:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-contrib-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-debugsource:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-devel-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-libs-debugsource:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-plperl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-plperl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-plpython:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-plpython-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-pltcl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-pltcl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-server:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-server-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:opensuse:postgresql96-test:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Patch Publication Date: 6/15/2018

Reference Information

CVE: CVE-2018-1115