SUSE SLED12 / SLES12 Security Update : postgresql96 (SUSE-SU-2018:1695-1)

critical Nessus Plugin ID 110548

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 SUSE host is missing one or more security updates.

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)

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

Solution

To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'.

Alternatively you can run the command listed for your product :

SUSE Linux Enterprise Software Development Kit 12-SP3:zypper in -t patch SUSE-SLE-SDK-12-SP3-2018-1138=1

SUSE Linux Enterprise Server 12-SP3:zypper in -t patch SUSE-SLE-SERVER-12-SP3-2018-1138=1

SUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2018-1138=1

See Also

https://bugzilla.suse.com/show_bug.cgi?id=1091610

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

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

https://www.suse.com/security/cve/CVE-2018-1115/

http://www.nessus.org/u?3df3eceb

Plugin Details

Severity: Critical

ID: 110548

File Name: suse_SU-2018-1695-1.nasl

Version: 1.8

Type: local

Agent: unix

Published: 6/15/2018

Updated: 1/13/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:suse_linux:12:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:libecpg6:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:libpq5:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:libecpg6-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:libpq5-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-contrib:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-contrib-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-debugsource:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-libs-debugsource:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-server:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:postgresql96-server-debuginfo:*:*:*:*:*:*:*

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

Patch Publication Date: 6/14/2018

Vulnerability Publication Date: 5/10/2018

Reference Information

CVE: CVE-2018-1115