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.

SUSE information

Overall state of this security issue: Does not affect SUSE products

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
  SUSE
Base Score 7.3
Vector AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Access Vector Local
Access Complexity Low
Privileges Required Low
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
SUSE Bugzilla entries: 1062538 [RESOLVED / INVALID], 1062722 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 12 SP2
  • postgresql94 >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP2-2018-63
SUSE Linux Enterprise Server 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-docs >= 9.4.15-0.23.10.1
  • postgresql94-libs >= 9.4.15-0.23.10.1
  • postgresql94-server >= 9.4.15-0.23.10.1
Patchnames:
slessp4-postgresql94-13411
SUSE Linux Enterprise Server 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-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 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-docs >= 9.4.15-0.23.10.1
  • postgresql94-libs >= 9.4.15-0.23.10.1
  • postgresql94-server >= 9.4.15-0.23.10.1
Patchnames:
slessp4-postgresql94-13411
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-docs >= 9.4.15-21.13.1
  • postgresql94-server >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2018-63
SUSE Linux Enterprise Software Development Kit 11 SP4
  • postgresql94-devel >= 9.4.15-0.23.10.1
  • postgresql94-libs >= 9.4.15-0.23.10.1
Patchnames:
sdksp4-postgresql94-13411
SUSE Linux Enterprise Software Development Kit 12 SP2
  • postgresql94-devel >= 9.4.15-21.13.1
  • postgresql94-libs >= 9.4.15-21.13.1
Patchnames:
SUSE-SLE-SDK-12-SP2-2018-63
openSUSE Leap 42.2
  • postgresql94 >= 9.4.15-9.12.1
  • postgresql94-contrib >= 9.4.15-9.12.1
  • postgresql94-contrib-debuginfo >= 9.4.15-9.12.1
  • postgresql94-debuginfo >= 9.4.15-9.12.1
  • postgresql94-debugsource >= 9.4.15-9.12.1
  • postgresql94-devel >= 9.4.15-9.12.1
  • postgresql94-devel-debuginfo >= 9.4.15-9.12.1
  • postgresql94-docs >= 9.4.15-9.12.1
  • postgresql94-libs >= 9.4.15-9.12.1
  • postgresql94-libs-debugsource >= 9.4.15-9.12.1
  • postgresql94-plperl >= 9.4.15-9.12.1
  • postgresql94-plperl-debuginfo >= 9.4.15-9.12.1
  • postgresql94-plpython >= 9.4.15-9.12.1
  • postgresql94-plpython-debuginfo >= 9.4.15-9.12.1
  • postgresql94-pltcl >= 9.4.15-9.12.1
  • postgresql94-pltcl-debuginfo >= 9.4.15-9.12.1
  • postgresql94-server >= 9.4.15-9.12.1
  • postgresql94-server-debuginfo >= 9.4.15-9.12.1
  • postgresql94-test >= 9.4.15-9.12.1
Patchnames:
openSUSE-2018-38
openSUSE Leap 42.3
  • postgresql94 >= 9.4.15-15.1
  • postgresql94-contrib >= 9.4.15-15.1
  • postgresql94-contrib-debuginfo >= 9.4.15-15.1
  • postgresql94-debuginfo >= 9.4.15-15.1
  • postgresql94-debugsource >= 9.4.15-15.1
  • postgresql94-devel >= 9.4.15-15.1
  • postgresql94-devel-debuginfo >= 9.4.15-15.1
  • postgresql94-docs >= 9.4.15-15.1
  • postgresql94-libs >= 9.4.15-15.1
  • postgresql94-libs-debugsource >= 9.4.15-15.1
  • postgresql94-plperl >= 9.4.15-15.1
  • postgresql94-plperl-debuginfo >= 9.4.15-15.1
  • postgresql94-plpython >= 9.4.15-15.1
  • postgresql94-plpython-debuginfo >= 9.4.15-15.1
  • postgresql94-pltcl >= 9.4.15-15.1
  • postgresql94-pltcl-debuginfo >= 9.4.15-15.1
  • postgresql94-server >= 9.4.15-15.1
  • postgresql94-server-debuginfo >= 9.4.15-15.1
  • postgresql94-test >= 9.4.15-15.1
Patchnames:
openSUSE-2018-38


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
SUSE Linux Enterprise Server 11 SP3 LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 11 SP4 postgresql-init Not affected
SUSE Linux Enterprise Server 12 GA LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP1 LTSS postgresql-init Not affected
SUSE Linux Enterprise Server 12 SP2 postgresql-init Unsupported
SUSE Linux Enterprise Server 12 SP3 postgresql-init Not affected