Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2017-12172

published

postgresql: Start scripts permit database administrator to modify root-owned files

Title from Red Hat VEX

Published
22 Nov 2017, 19:00:00 UTC
Updated
15 Oct 2026, 15:51:56 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat, Inc. — postgresql10.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, 9.2.x before 9.2.24 Affected Not stated redhat
Oracle Linux 7 postgresqlaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Red Hat Enterprise Linux RHEL-7 postgresqlaarch64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Oracle Linux 7 postgresqlx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Red Hat Enterprise Linux RHEL-7 postgresqli686 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresqlppc Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresqlppc64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresqlppc64le Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-7 postgresqls390 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresqls390x Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresqlsrc Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresqlx86_64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Oracle Linux 7 postgresql-contribaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-contribx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-develaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-develx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-docsaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-docsx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-libsaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-libsx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-plperlaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-plperlx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-plpythonaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-plpythonx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-pltclaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-pltclx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-serveraarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-serverx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-staticaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-staticx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-testaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-testx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-upgradeaarch64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Oracle Linux 7 postgresql-upgradex86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-2017-3402
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresqlsrc Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresqlx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-contribx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-debuginfox86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-develx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-docsx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-libsx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-plperlx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-plpythonx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-pltclx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-serverx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-staticx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-testx86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql94-postgresql-upgradex86_64 Advisory build 9.4.14-2.el6 RHSA-2017:3403
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresqlsrc Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresqlx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-contribx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-debuginfox86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-develx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-docsx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-libsx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-plperlx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-plpythonx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-pltclx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-serverx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-staticx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql95-postgresql-testx86_64 Advisory build 9.5.9-4.el6 RHSA-2017:3404
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresqlsrc Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresqlx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-contribx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-contrib-syspathsx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-debuginfox86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-develx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-docsx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-libsx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-plperlx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-plpythonx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-pltclx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-serverx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-server-syspathsx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-staticx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-syspathsx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-6 rh-postgresql96-postgresql-testx86_64 Advisory build 9.6.5-2.el6 RHSA-2017:3405
Red Hat Enterprise Linux RHEL-7 postgresql-contribaarch64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-contribppc64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-contribppc64le Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-contribs390x Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-contribx86_64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfoaarch64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfoi686 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfoppc Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfoppc64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfoppc64le Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfos390 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfos390x Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-debuginfox86_64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-develaarch64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-develi686 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-develppc Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-develppc64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-develppc64le Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-devels390 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-devels390x Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-develx86_64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-docsaarch64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-docsppc64 Advisory build 9.2.23-3.el7_4 RHSA-2017:3402
Red Hat Enterprise Linux RHEL-7 postgresql-docsppc64le Advisory build 9.2.23-3.el7_4 RHSA-2017:3402

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat, Inc. 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, 9.2.x before 9.2.24 (affected) redhat · cna

Weaknesses

1
  • CWE-59 (redhat · cna)

References

8
  • 101949 http://www.securityfocus.com/bid/101949 vdb-entry, x_refsource_BID, x_transferred Contributors: redhat (cna), CVE (adp)
  • 1039752 http://www.securitytracker.com/id/1039752 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2017:3402 https://access.redhat.com/errata/RHSA-2017:3402 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2017:3403 https://access.redhat.com/errata/RHSA-2017:3403 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2017:3404 https://access.redhat.com/errata/RHSA-2017:3404 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2017:3405 https://access.redhat.com/errata/RHSA-2017:3405 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://www.postgresql.org/about/news/1801/ x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://www.postgresql.org/support/security/ x_refsource_MISC, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

3

redhat · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
8f5bcdb61c6b14caf60b6248c6f330ff9348087f109d645ad1b254edca28a565
Ingested
15 Oct 2026, 17:54:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected