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

Medium Nessus Plugin ID 118387

Synopsis

The remote SUSE host is missing one or more security updates.

Description

This update for postgresql96 to 9.6.10 fixes the following issues :

These security issues were fixed :

CVE-2018-10915: libpq failed to properly reset its internal state between connections. If an affected version of libpq was used with 'host' or 'hostaddr' connection parameters from untrusted input, attackers could have bypassed client-side connection security features, obtain access to higher privileged connections or potentially cause other impact SQL injection, by causing the PQescape() functions to malfunction (bsc#1104199)

CVE-2018-10925: Add missing authorization check on certain statements involved with 'INSERT ... ON CONFLICT DO UPDATE'. An attacker with 'CREATE TABLE' privileges could have exploited this to read arbitrary bytes server memory. If the attacker also had certain 'INSERT' and limited 'UPDATE' privileges to a particular table, they could have exploited this to update other columns in the same table (bsc#1104202)

For addition details please see https://www.postgresql.org/docs/current/static/release-9-6-10.html

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 OpenStack Cloud 7:zypper in -t patch SUSE-OpenStack-Cloud-7-2018-2427=1

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

SUSE Linux Enterprise Server for SAP 12-SP2:zypper in -t patch SUSE-SLE-SAP-12-SP2-2018-2427=1

SUSE Linux Enterprise Server for SAP 12-SP1:zypper in -t patch SUSE-SLE-SAP-12-SP1-2018-2427=1

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

SUSE Linux Enterprise Server 12-SP2-LTSS:zypper in -t patch SUSE-SLE-SERVER-12-SP2-2018-2427=1

SUSE Linux Enterprise Server 12-SP1-LTSS:zypper in -t patch SUSE-SLE-SERVER-12-SP1-2018-2427=1

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

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

SUSE Enterprise Storage 4:zypper in -t patch SUSE-Storage-4-2018-2427=1

See Also

https://bugzilla.suse.com/1104199

https://bugzilla.suse.com/1104202

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

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

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

http://www.nessus.org/u?97677345

Plugin Details

Severity: Medium

ID: 118387

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

Version: 1.1

Type: local

Agent: unix

Published: 2018/10/25

Modified: 2018/10/25

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6

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

CVSS v3.0

Base Score: 8.1

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:postgresql96, p-cpe:/a:novell:suse_linux:postgresql96-contrib, p-cpe:/a:novell:suse_linux:postgresql96-contrib-debuginfo, p-cpe:/a:novell:suse_linux:postgresql96-debuginfo, p-cpe:/a:novell:suse_linux:postgresql96-debugsource, p-cpe:/a:novell:suse_linux:postgresql96-libs-debugsource, p-cpe:/a:novell:suse_linux:postgresql96-server, p-cpe:/a:novell:suse_linux:postgresql96-server-debuginfo, cpe:/o:novell:suse_linux:12

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

Patch Publication Date: 2018/10/24

Reference Information

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