CVE-2017-15097 json
Privilege escalation flaws were found in the Red Hat initialization scripts of PostgreSQL.
published 2018-07-27 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-6564
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rh-postgresql96-postgresql RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el6
- rh-postgresql96-postgresql RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el7
- rh-postgresql96-postgresql-libs RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el6
- rh-postgresql96-postgresql-libs RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el7
- rh-postgresql96-postgresql-test RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el6
- rh-postgresql96-postgresql-test RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el7
- rh-postgresql96-postgresql-pltcl RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el6
- rh-postgresql96-postgresql-pltcl RHEL 3 SOFTWARE_COLLECTIONS 9.6.5-2.el7
red hat advisories RHSA-2017:3405RHSA-2017:3404RHSA-2017:3403RHSA-2017:3402
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-15097 updated cvss 6.5
postgresql: Start scripts permit database administrator to modify root-owned files
-
Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 moreaffected: no fix planned “Will not fix”
-
Red Hat CloudForms Management Engine 5 rh-postgresql94-postgresql, rh-postgresql95-postgresql Red Hat Satellite 5 postgresql92-postgresqlunder investigation
-
Red Hat Enterprise Linux Client (v. 7) postgresql 9.2.23-3.el7_4, postgresql-libs 9.2.23-3.el7_4 Red Hat Enterprise Linux Client Optional (v. 7) postgresql 9.2.23-3.el7_4, postgresql-test 9.2.23-3.el7_4, postgresql-pltcl 9.2.23-3.el7_4, postgresql-plperl 9.2.23-3.el7_4, postgresql-server 9.2.23-3.el7_4, postgresql-contrib 9.2.23-3.el7_4, +2 more Red Hat Enterprise Linux ComputeNode (v. 7) postgresql 9.2.23-3.el7_4, postgresql-libs 9.2.23-3.el7_4 Red Hat Enterprise Linux ComputeNode Optional (v. 7) postgresql 9.2.23-3.el7_4, postgresql-test 9.2.23-3.el7_4, postgresql-pltcl 9.2.23-3.el7_4, postgresql-plperl 9.2.23-3.el7_4, postgresql-server 9.2.23-3.el7_4, postgresql-contrib 9.2.23-3.el7_4, +2 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) postgresql 9.2.23-3.el7_4, postgresql-libs 9.2.23-3.el7_4, postgresql-test 9.2.23-3.el7_4, postgresql-pltcl 9.2.23-3.el7_4, postgresql-plperl 9.2.23-3.el7_4, postgresql-server 9.2.23-3.el7_4, +2 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) postgresql-upgrade 9.2.23-3.el7_4fixed: vendor fix RHSA-2017:3402
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) postgresql 9.2.23-3.el7_4, postgresql-libs 9.2.23-3.el7_4, postgresql-test 9.2.23-3.el7_4, postgresql-pltcl 9.2.23-3.el7_4, postgresql-plperl 9.2.23-3.el7_4, postgresql-server 9.2.23-3.el7_4, +2 more Red Hat Enterprise Linux Server Optional (v. 7) postgresql-upgrade 9.2.23-3.el7_4 Red Hat Enterprise Linux Workstation (v. 7) postgresql 9.2.23-3.el7_4, postgresql-libs 9.2.23-3.el7_4, postgresql-test 9.2.23-3.el7_4, postgresql-pltcl 9.2.23-3.el7_4, postgresql-plperl 9.2.23-3.el7_4, postgresql-server 9.2.23-3.el7_4, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) postgresql-upgrade 9.2.23-3.el7_4 -
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-postgresql95-postgresql 9.5.9-4.el6, rh-postgresql96-postgresql 9.6.5-2.el6, rh-postgresql94-postgresql 9.4.14-2.el6, rh-postgresql95-postgresql-libs 9.5.9-4.el6, rh-postgresql95-postgresql-test 9.5.9-4.el6, rh-postgresql96-postgresql-libs 9.6.5-2.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql95-postgresql 9.5.9-4.el7, rh-postgresql96-postgresql 9.6.5-2.el7, rh-postgresql94-postgresql 9.4.14-2.el7, rh-postgresql95-postgresql-libs 9.5.9-4.el7, rh-postgresql95-postgresql-test 9.5.9-4.el7, rh-postgresql96-postgresql-libs 9.6.5-2.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-postgresql95-postgresql 9.5.9-4.el6, rh-postgresql96-postgresql 9.6.5-2.el6, rh-postgresql94-postgresql 9.4.14-2.el6, rh-postgresql95-postgresql-libs 9.5.9-4.el6, rh-postgresql95-postgresql-test 9.5.9-4.el6, rh-postgresql96-postgresql-libs 9.6.5-2.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-postgresql95-postgresql 9.5.9-4.el7, rh-postgresql96-postgresql 9.6.5-2.el7, rh-postgresql94-postgresql 9.4.14-2.el7, rh-postgresql95-postgresql-libs 9.5.9-4.el7, rh-postgresql95-postgresql-test 9.5.9-4.el7, rh-postgresql96-postgresql-libs 9.6.5-2.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-postgresql95-postgresql 9.5.9-4.el7, rh-postgresql96-postgresql 9.6.5-2.el7, rh-postgresql94-postgresql 9.4.14-2.el7, rh-postgresql95-postgresql-libs 9.5.9-4.el7, rh-postgresql95-postgresql-test 9.5.9-4.el7, rh-postgresql96-postgresql-libs 9.6.5-2.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-postgresql95-postgresql 9.5.9-4.el6, rh-postgresql96-postgresql 9.6.5-2.el6, rh-postgresql94-postgresql 9.4.14-2.el6, rh-postgresql95-postgresql-libs 9.5.9-4.el6, rh-postgresql95-postgresql-test 9.5.9-4.el6, rh-postgresql96-postgresql-libs 9.6.5-2.el6, +22 morefixed: vendor fix RHSA-2017:3403
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql95-postgresql 9.5.9-4.el7, rh-postgresql96-postgresql 9.6.5-2.el7, rh-postgresql94-postgresql 9.4.14-2.el7, rh-postgresql95-postgresql-libs 9.5.9-4.el7, rh-postgresql95-postgresql-test 9.5.9-4.el7, rh-postgresql96-postgresql-libs 9.6.5-2.el7, +22 more -
Red Hat RHV-M 4.2 rh-postgresql95-postgresql 9.5.9-4.el7 Red Hat RHV-M 4.3 rh-postgresql95-postgresql 9.5.9-4.el7, rh-postgresql95-postgresql-libs 9.5.9-4.el7, rh-postgresql95-postgresql-test 9.5.9-4.el7, rh-postgresql95-postgresql-pltcl 9.5.9-4.el7, rh-postgresql95-postgresql-plperl 9.5.9-4.el7, rh-postgresql95-postgresql-server 9.5.9-4.el7, +2 morefixed: vendor fix RHSA-2017:3404
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 6.7 | CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- Red Hat postgresql init script
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
access.redhat.com
/errata/RHSA-2017:3402
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:3403
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:3405
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:3404
vendor-advisory, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2017-15097
issue-tracking, third-party-advisory
-
securitytracker.com
/id/1039983
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-15097
- NVD CVE-2017-15097
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.