Upstream information

CVE-2018-16850 at MITRE

Description

postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3
SUSE Bugzilla entry: 1114837 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 12 SP3
  • libecpg6 >= 10.6-1.6.1
  • libpq5 >= 10.6-1.6.1
  • libpq5-32bit >= 10.6-1.6.1
  • postgresql10 >= 10.6-1.6.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP3-2018-2662
SUSE Linux Enterprise Desktop 12 SP4
  • libecpg6 >= 10.6-1.6.1
  • libpq5 >= 10.6-1.6.1
  • libpq5-32bit >= 10.6-1.6.1
  • postgresql10 >= 10.6-1.6.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP4-2018-2662
SUSE Linux Enterprise High Performance Computing 12 SP5
SUSE Linux Enterprise Server 12 SP5
  • libecpg6 >= 10.10-1.15.1
  • libpq5 >= 10.10-1.15.1
  • libpq5-32bit >= 10.10-1.15.1
  • postgresql10 >= 10.10-1.15.1
  • postgresql10-contrib >= 10.10-1.15.1
  • postgresql10-docs >= 10.10-1.15.1
  • postgresql10-plperl >= 10.10-1.15.1
  • postgresql10-plpython >= 10.10-1.15.1
  • postgresql10-pltcl >= 10.10-1.15.1
  • postgresql10-server >= 10.10-1.15.1
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • libpq5 >= 10.6-6.25
  • postgresql10 >= 10.6-6.26
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • postgresql10 >= 10.12-8.13.10
SUSE Linux Enterprise Module for Basesystem 15
  • libpq5 >= 10.6-4.8.1
  • postgresql10 >= 10.6-4.8.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-2018-2813
SUSE Linux Enterprise Module for Legacy 15 SP3
  • postgresql10 >= 10.16-8.29.1
  • postgresql10-contrib >= 10.16-8.29.1
  • postgresql10-devel >= 10.16-8.29.1
  • postgresql10-plperl >= 10.16-8.29.1
  • postgresql10-plpython >= 10.16-8.29.1
  • postgresql10-pltcl >= 10.16-8.29.1
  • postgresql10-server >= 10.16-8.29.1
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15
  • postgresql10-test >= 10.6-4.8.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-2018-2813
SUSE Linux Enterprise Module for Server Applications 15 SP1
  • libecpg6 >= 10.6-6.25
  • postgresql10-contrib >= 10.6-6.26
  • postgresql10-devel >= 10.6-6.25
  • postgresql10-docs >= 10.6-6.26
  • postgresql10-plperl >= 10.6-6.26
  • postgresql10-plpython >= 10.6-6.26
  • postgresql10-pltcl >= 10.6-6.26
  • postgresql10-server >= 10.6-6.26
SUSE Linux Enterprise Module for Server Applications 15 SP2
  • postgresql10-contrib >= 10.12-8.13.10
  • postgresql10-devel >= 10.12-8.13.9
  • postgresql10-docs >= 10.12-8.13.10
  • postgresql10-plperl >= 10.12-8.13.10
  • postgresql10-plpython >= 10.12-8.13.10
  • postgresql10-pltcl >= 10.12-8.13.10
  • postgresql10-server >= 10.12-8.13.10
SUSE Linux Enterprise Module for Server Applications 15
  • libecpg6 >= 10.6-4.8.1
  • postgresql10-contrib >= 10.6-4.8.1
  • postgresql10-devel >= 10.6-4.8.1
  • postgresql10-docs >= 10.6-4.8.1
  • postgresql10-plperl >= 10.6-4.8.1
  • postgresql10-plpython >= 10.6-4.8.1
  • postgresql10-pltcl >= 10.6-4.8.1
  • postgresql10-server >= 10.6-4.8.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-2018-2813
SUSE Linux Enterprise Module for additional PackageHub packages 15
  • postgresql10-test >= 10.6-4.8.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-2018-2813
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • libecpg6 >= 10.6-1.6.1
  • libpq5 >= 10.6-1.6.1
  • libpq5-32bit >= 10.6-1.6.1
  • postgresql10 >= 10.6-1.6.1
  • postgresql10-contrib >= 10.6-1.6.1
  • postgresql10-docs >= 10.6-1.6.1
  • postgresql10-server >= 10.6-1.6.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2018-2662
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • libecpg6 >= 10.6-1.6.1
  • libpq5 >= 10.6-1.6.1
  • libpq5-32bit >= 10.6-1.6.1
  • postgresql10 >= 10.6-1.6.1
  • postgresql10-contrib >= 10.6-1.6.1
  • postgresql10-docs >= 10.6-1.6.1
  • postgresql10-server >= 10.6-1.6.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-2018-2662
SUSE Linux Enterprise Software Development Kit 12 SP3
  • postgresql10-devel >= 10.6-1.6.1
Patchnames:
SUSE-SLE-SDK-12-SP3-2018-2662
SUSE Linux Enterprise Software Development Kit 12 SP4
  • postgresql10-devel >= 10.6-1.6.1
Patchnames:
SUSE-SLE-SDK-12-SP4-2018-2662
SUSE Linux Enterprise Software Development Kit 12 SP5
  • postgresql10-devel >= 10.10-1.15.1
openSUSE Leap 15.0
  • libecpg6 >= 10.6-lp150.3.6.1
  • libecpg6-32bit >= 10.6-lp150.3.6.1
  • libpq5 >= 10.6-lp150.3.6.1
  • libpq5-32bit >= 10.6-lp150.3.6.1
  • postgresql10 >= 10.6-lp150.3.6.1
  • postgresql10-contrib >= 10.6-lp150.3.6.1
  • postgresql10-devel >= 10.6-lp150.3.6.1
  • postgresql10-docs >= 10.6-lp150.3.6.1
  • postgresql10-plperl >= 10.6-lp150.3.6.1
  • postgresql10-plpython >= 10.6-lp150.3.6.1
  • postgresql10-pltcl >= 10.6-lp150.3.6.1
  • postgresql10-server >= 10.6-lp150.3.6.1
  • postgresql10-test >= 10.6-lp150.3.6.1
Patchnames:
openSUSE-2019-967
openSUSE Tumbleweed
  • postgresql10 >= 10.18-1.3
  • postgresql10-contrib >= 10.18-1.3
  • postgresql10-devel >= 10.18-1.3
  • postgresql10-docs >= 10.18-1.3
  • postgresql10-plperl >= 10.18-1.3
  • postgresql10-plpython >= 10.18-1.3
  • postgresql10-pltcl >= 10.18-1.3
  • postgresql10-server >= 10.18-1.3
  • postgresql10-test >= 10.18-1.3
  • postgresql11 >= 11.13-1.3
  • postgresql11-contrib >= 11.13-1.3
  • postgresql11-devel >= 11.13-1.3
  • postgresql11-docs >= 11.13-1.3
  • postgresql11-llvmjit >= 11.13-1.3
  • postgresql11-plperl >= 11.13-1.3
  • postgresql11-plpython >= 11.13-1.3
  • postgresql11-pltcl >= 11.13-1.3
  • postgresql11-server >= 11.13-1.3
  • postgresql11-server-devel >= 11.13-1.3
  • postgresql11-test >= 11.13-1.3
Patchnames:
openSUSE Tumbleweed GA postgresql10-10.18-1.3
openSUSE Tumbleweed GA postgresql11-11.13-1.3


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 postgresql10 In progress
HPE Helion OpenStack 8 postgresql13 In progress
HPE Helion OpenStack 8 postgresql96 In progress
SUSE Linux Enterprise Desktop 12 SP3 postgresql10 Released
SUSE Linux Enterprise Desktop 12 SP4 postgresql10 Released
SUSE Linux Enterprise High Performance Computing 12 SP3 postgresql10 Released
SUSE Linux Enterprise High Performance Computing 12 SP4 postgresql10 Released
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql10 In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql12 In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql13 In progress
SUSE Linux Enterprise High Performance Computing 15 LTSS postgresql10 Released
SUSE Linux Enterprise Module for Basesystem 15 postgresql10 Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 postgresql12 Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP2 postgresql13 Already fixed
SUSE Linux Enterprise Module for Server Applications 15 postgresql10 Released
SUSE Linux Enterprise Module for Server Applications 15 SP2 postgresql12 Already fixed
SUSE Linux Enterprise Module for Server Applications 15 SP2 postgresql13 Already fixed
SUSE Linux Enterprise Point of Service 11 SP3 postgresql94 In progress
SUSE Linux Enterprise Server 11 SP4 LTSS postgresql94 In progress
SUSE Linux Enterprise Server 12 SP2 BCL postgresql10 In progress
SUSE Linux Enterprise Server 12 SP2 BCL postgresql13 In progress
SUSE Linux Enterprise Server 12 SP2 BCL postgresql94 In progress
SUSE Linux Enterprise Server 12 SP2 BCL postgresql96 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON postgresql10 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON postgresql13 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON postgresql94 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON postgresql96 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP postgresql10 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP postgresql13 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP postgresql94 In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP postgresql96 In progress
SUSE Linux Enterprise Server 12 SP3 postgresql10 Released
SUSE Linux Enterprise Server 12 SP3 BCL postgresql10 In progress
SUSE Linux Enterprise Server 12 SP3 BCL postgresql13 In progress
SUSE Linux Enterprise Server 12 SP3 BCL postgresql96 In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS postgresql13 In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS postgresql96 In progress
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql13 In progress
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql96 In progress
SUSE Linux Enterprise Server 12 SP4 postgresql10 Released
SUSE Linux Enterprise Server 12 SP4 ESPOS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS postgresql13 In progress
SUSE Linux Enterprise Server 12 SP4 LTSS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP4 LTSS postgresql13 In progress
SUSE Linux Enterprise Server 12 SP5 postgresql10 In progress
SUSE Linux Enterprise Server 12 SP5 postgresql12 In progress
SUSE Linux Enterprise Server 12 SP5 postgresql13 In progress
SUSE Linux Enterprise Server 15 LTSS postgresql10 Released
SUSE Linux Enterprise Server ESPOS 15 postgresql10 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql10 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql13 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql96 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 postgresql10 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 postgresql13 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql10 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql12 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql13 In progress
SUSE Linux Enterprise Server for SAP Applications 15 postgresql10 Released
SUSE OpenStack Cloud 8 postgresql10 In progress
SUSE OpenStack Cloud 8 postgresql13 In progress
SUSE OpenStack Cloud 8 postgresql96 In progress
SUSE OpenStack Cloud 9 postgresql10 In progress
SUSE OpenStack Cloud 9 postgresql13 In progress
SUSE OpenStack Cloud Crowbar 8 postgresql10 In progress
SUSE OpenStack Cloud Crowbar 8 postgresql13 In progress
SUSE OpenStack Cloud Crowbar 8 postgresql96 In progress
SUSE OpenStack Cloud Crowbar 9 postgresql10 In progress
SUSE OpenStack Cloud Crowbar 9 postgresql13 In progress