Upstream information

CVE-2017-12172 at MITRE

Description

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.

Upstream Security Advisories:

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 7.2 6
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C AV:L/AC:H/Au:S/C:C/I:C/A:C
Access Vector Local Local
Access Complexity Low High
Authentication None Single
Confidentiality Impact Complete Complete
Integrity Impact Complete Complete
Availability Impact Complete Complete
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.7 7.3
Vector CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local Local
Attack Complexity Low Low
Privileges Required High Low
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3 3
SUSE Bugzilla entries: 1062538 [RESOLVED / INVALID], 1062722 [RESOLVED / FIXED], 1185814 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Liberty Linux 7
  • postgresql >= 9.2.23-3.el7_4
  • postgresql-contrib >= 9.2.23-3.el7_4
  • postgresql-devel >= 9.2.23-3.el7_4
  • postgresql-docs >= 9.2.23-3.el7_4
  • postgresql-libs >= 9.2.23-3.el7_4
  • postgresql-plperl >= 9.2.23-3.el7_4
  • postgresql-plpython >= 9.2.23-3.el7_4
  • postgresql-pltcl >= 9.2.23-3.el7_4
  • postgresql-server >= 9.2.23-3.el7_4
  • postgresql-static >= 9.2.23-3.el7_4
  • postgresql-test >= 9.2.23-3.el7_4
  • postgresql-upgrade >= 9.2.23-3.el7_4
Patchnames:
RHSA-2017:3402
SUSE Linux Enterprise Desktop 11 SP4
SUSE Linux Enterprise Software Development Kit 11 SP4
  • postgresql94-devel >= 9.4.15-0.23.10.1
Patchnames:
sdksp4-postgresql94-13411
SUSE Linux Enterprise Desktop 12 SP2
  • postgresql94 >= 9.4.15-21.13.1
  • postgresql94-devel >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP2-2018-63
SUSE-SLE-SDK-12-SP2-2018-63
SUSE Linux Enterprise Server 11 SP4
SUSE Linux Enterprise Server for SAP Applications 11 SP4
  • libecpg6 >= 9.4.15-0.23.10.1
  • libpq5 >= 9.4.15-0.23.10.1
  • libpq5-32bit >= 9.4.15-0.23.10.1
  • postgresql94 >= 9.4.15-0.23.10.1
  • postgresql94-contrib >= 9.4.15-0.23.10.1
  • postgresql94-devel >= 9.4.15-0.23.10.1
  • postgresql94-docs >= 9.4.15-0.23.10.1
  • postgresql94-server >= 9.4.15-0.23.10.1
Patchnames:
sdksp4-postgresql94-13411
slessp4-postgresql94-13411
SUSE Linux Enterprise Server 12 SP2
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • postgresql94 >= 9.4.15-21.13.1
  • postgresql94-contrib >= 9.4.15-21.13.1
  • postgresql94-devel >= 9.4.15-21.13.1
  • postgresql94-docs >= 9.4.15-21.13.1
  • postgresql94-server >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-SDK-12-SP2-2018-63
SUSE-SLE-SERVER-12-SP2-2018-63
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2
  • postgresql94 >= 9.4.15-21.13.1
  • postgresql94-contrib >= 9.4.15-21.13.1
  • postgresql94-docs >= 9.4.15-21.13.1
  • postgresql94-server >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-RPI-12-SP2-2018-63
SUSE Linux Enterprise Software Development Kit 12 SP2
  • postgresql94-devel >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-SDK-12-SP2-2018-63


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. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Desktop 11 SP2 postgresql-init Not affected
SUSE Linux Enterprise Desktop 11 SP3 postgresql-init Not affected
SUSE Linux Enterprise Desktop 11 SP3 postgresql94 Not affected
SUSE Linux Enterprise Desktop 11 SP4 postgresql-init Not affected
SUSE Linux Enterprise Desktop 11 SP4 postgresql94 Not affected
SUSE Linux Enterprise Desktop 11 SP4 postgresql94-libs Released
SUSE Linux Enterprise Desktop 12 SP2 postgresql94 Released
SUSE Linux Enterprise Desktop 12 SP2 postgresql94-libs Released
SUSE Linux Enterprise Point of Sale 11 SP3 postgresql-init Not affected
SUSE Linux Enterprise Point of Sale 11 SP3 postgresql94 Not affected
SUSE Linux Enterprise Point of Service 11 SP3 postgresql94 Not affected
SUSE Linux Enterprise Server 11 SP1-LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP2 postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP2-LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP3 postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP3 postgresql94 Not affected
SUSE Linux Enterprise Server 11 SP3 LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP3-LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP3-LTSS postgresql94 Not affected
SUSE Linux Enterprise Server 11 SP4 postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP4 postgresql94 Released
SUSE Linux Enterprise Server 11 SP4 postgresql94-libs Released
SUSE Linux Enterprise Server 11 SP4 LTSS postgresql94 Not affected
SUSE Linux Enterprise Server 11 SP4-LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP4-LTSS postgresql94 Not affected
SUSE Linux Enterprise Server 12 postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP1 postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP1-LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP2 postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP2 postgresql94 Released
SUSE Linux Enterprise Server 12 SP2 postgresql94-libs Released
SUSE Linux Enterprise Server 12 SP3 postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP4 postgresql-init Not affected
SUSE Linux Enterprise Server 12-LTSS postgresql-init Not affected
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 postgresql-init Not affected
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 postgresql94 Released
SUSE Linux Enterprise Server for SAP Applications 11 SP4 postgresql94 Released
SUSE Linux Enterprise Server for SAP Applications 11 SP4 postgresql94-libs Released
SUSE Linux Enterprise Server for SAP Applications 12 SP1 postgresql-init Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql94 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql94-libs Released
SUSE Linux Enterprise Software Development Kit 11 SP4 postgresql94-libs Released
SUSE Linux Enterprise Software Development Kit 12 SP2 postgresql94-libs Released
SUSE Manager 2.1 postgresql94 Not affected


SUSE Timeline for this CVE

CVE page created: Tue Oct 10 14:30:22 2017
CVE page last modified: Tue Jul 2 17:31:14 2024