postgresql: Start scripts permit database administrator to modify root-owned files
Published Jul 27, 2018
6.7
MEDIUMCVSS 3.0
EPSS 0.54%
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.
Affected products
-
- Version allStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Postgresql Init Script | n/a |
|
- 7.0
- 7.0
- 7.4
- 7.4
- 7.5
- 7.0
No data.
Red Hat Enterprise Linux 7
postgresql-0:9.2.23-3.el7_4
Fixed · RHSA-2017:3402
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql94-postgresql-0:9.4.14-2.el6
Fixed · RHSA-2017:3403
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql95-postgresql-0:9.5.9-4.el6
Fixed · RHSA-2017:3404
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql96-postgresql-0:9.6.5-2.el6
Fixed · RHSA-2017:3405
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql94-postgresql-0:9.4.14-2.el6
Fixed · RHSA-2017:3403
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql95-postgresql-0:9.5.9-4.el6
Fixed · RHSA-2017:3404
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql96-postgresql-0:9.6.5-2.el6
Fixed · RHSA-2017:3405
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql94-postgresql-0:9.4.14-2.el7
Fixed · RHSA-2017:3403
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql95-postgresql-0:9.5.9-4.el7
Fixed · RHSA-2017:3404
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql96-postgresql-0:9.6.5-2.el7
Fixed · RHSA-2017:3405
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql94-postgresql-0:9.4.14-2.el7
Fixed · RHSA-2017:3403
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql95-postgresql-0:9.5.9-4.el7
Fixed · RHSA-2017:3404
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql96-postgresql-0:9.6.5-2.el7
Fixed · RHSA-2017:3405
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql94-postgresql-0:9.4.14-2.el7
Fixed · RHSA-2017:3403
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql95-postgresql-0:9.5.9-4.el7
Fixed · RHSA-2017:3404
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql96-postgresql-0:9.6.5-2.el7
Fixed · RHSA-2017:3405
Red Hat Virtualization Engine 4.2
rh-postgresql95-postgresql-0:9.5.9-4.el7
Fixed · RHSA-2017:3404
Red Hat Virtualization Engine 4.3
rh-postgresql95-postgresql-0:9.5.9-4.el7
Fixed · RHSA-2017:3404
CloudForms Management Engine 5
rh-postgresql94-postgresql
Under investigation
CloudForms Management Engine 5
rh-postgresql95-postgresql
Under investigation
Red Hat Enterprise Linux 5
postgresql
Will not fix
Red Hat Enterprise Linux 5
postgresql84
Will not fix
Red Hat Enterprise Linux 6
postgresql
Will not fix
Red Hat Satellite 5
postgresql92-postgresql
Under investigation
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | postgresql-0:9.2.23-3.el7_4 | Fixed | RHSA-2017:3402 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql94-postgresql-0:9.4.14-2.el6 | Fixed | RHSA-2017:3403 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql95-postgresql-0:9.5.9-4.el6 | Fixed | RHSA-2017:3404 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql96-postgresql-0:9.6.5-2.el6 | Fixed | RHSA-2017:3405 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql94-postgresql-0:9.4.14-2.el6 | Fixed | RHSA-2017:3403 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql95-postgresql-0:9.5.9-4.el6 | Fixed | RHSA-2017:3404 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql96-postgresql-0:9.6.5-2.el6 | Fixed | RHSA-2017:3405 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql94-postgresql-0:9.4.14-2.el7 | Fixed | RHSA-2017:3403 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql95-postgresql-0:9.5.9-4.el7 | Fixed | RHSA-2017:3404 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql96-postgresql-0:9.6.5-2.el7 | Fixed | RHSA-2017:3405 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql94-postgresql-0:9.4.14-2.el7 | Fixed | RHSA-2017:3403 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql95-postgresql-0:9.5.9-4.el7 | Fixed | RHSA-2017:3404 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql96-postgresql-0:9.6.5-2.el7 | Fixed | RHSA-2017:3405 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql94-postgresql-0:9.4.14-2.el7 | Fixed | RHSA-2017:3403 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql95-postgresql-0:9.5.9-4.el7 | Fixed | RHSA-2017:3404 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql96-postgresql-0:9.6.5-2.el7 | Fixed | RHSA-2017:3405 |
| Red Hat Virtualization Engine 4.2 | rh-postgresql95-postgresql-0:9.5.9-4.el7 | Fixed | RHSA-2017:3404 |
| Red Hat Virtualization Engine 4.3 | rh-postgresql95-postgresql-0:9.5.9-4.el7 | Fixed | RHSA-2017:3404 |
| CloudForms Management Engine 5 | rh-postgresql94-postgresql | Under investigation | n/a |
| CloudForms Management Engine 5 | rh-postgresql95-postgresql | Under investigation | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Will not fix | n/a |
| Red Hat Satellite 5 | postgresql92-postgresql | Under investigation | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 6 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.54% (0.00541) | 43.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.54% (0.00541) | 40.98th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.13% (0.00125) | 29.21th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00062) | 28.60th | v3 (v2023.03.01) |
| Jun 14, 2024 | 0.06% (0.00062) | 26.68th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.06% (0.00062) | 24.67th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00045) | 12.06th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (10)
- http://www.securitytracker.com/id/1039983 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-15097 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1508985 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-15097 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-15097
- https://www.cve.org/CVERecord?id=CVE-2017-15097
| Link | Providers | Tags |
|---|---|---|
| http://www.securitytracker.com/id/1039983 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2017:3402 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2017:3403 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2017:3404 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/errata/RHSA-2017:3405 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-15097 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1508985 | Issue Tracking | |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-15097 | x_refsource_CONFIRMIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-15097 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-15097 |
Change history (0)
No recorded changes yet.