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-15097

published medium CVSS 3.0 · 6.5

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

Title from Red Hat VEX

Published
27 Jul 2018, 20:00:00 UTC
Updated
05 Aug 2024, 19:50:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — postgresql init scriptall 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-6 rh-postgresql94-postgresqlsrc Advisory build 9.4.14-2.el6 RHSA-2017:3403
Oracle Linux 7 postgresqlx86_64 Advisory build 0:9.2.23-3.el7_4 ELSA-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
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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-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 postgresqlaarch64 Advisory build 9.2.23-3.el7_4 RHSA-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
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
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

Privilege escalation flaws were found in the Red Hat initialization scripts of PostgreSQL. An attacker with access to the postgres user account could use these flaws to obtain root access on the server machine.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
6.5 / 10
Severity
medium
Provider
redhat · cna
Vector string
CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Red Hat postgresql init script all (affected) redhat · cna

Weaknesses

1
  • CWE-59 (redhat · cna)

References

6
  • 1039983 http://www.securitytracker.com/id/1039983 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://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-15097 x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d9fec179270f5fce43b0b1ad3cd858fdd6a2575e009fdbfe91492aa59baf1059
Ingested
23 Sep 2026, 07:42:08 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