Skip to content
Noroxi
CVE-2017-15097· NVD / CVE Program· CNA redhat

Privilege escalation flaws were found in the Red Hat initialization scripts of PostgreSQL.

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.

MediumCVSS 6.7 · v3.0—No exploit Fix available
Published
Jul 27, 2018
Updated
Jun 16, 2026
EPSS
0.5% · 43th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

26

Monitor

Low priority for now.

CVSS
26 / 40 · 6.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CNA vs NVD score

NVD
6.7
CNA · redhat
6.5
0.2 point gap

CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux workstation

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.4
  • redhat enterprise linux server eus7.4
  • redhat enterprise linux server eus7.5
  • redhat enterprise linux workstation7.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Red Hat postgresql init script

    • allaffected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Red Hat:enterprise_linux:7::clientpostgresqlbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-contribbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-debuginfobefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-develbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-docsbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-libsbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-plperlbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-plpythonbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-pltclbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-serverbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-staticbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-testbefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:enterprise_linux:7::clientpostgresql-upgradebefore 0:9.2.23-3.el7_40:9.2.23-3.el7_4
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresqlbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-contribbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-debuginfobefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-develbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-docsbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-libsbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-plperlbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-plpythonbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-pltclbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-serverbefore 0:9.4.14-2.el60:9.4.14-2.el6
Red Hat:rhel_software_collections:3::el6rh-postgresql94-postgresql-staticbefore 0:9.4.14-2.el60:9.4.14-2.el6

+69

Other highest-scoring records for the same primary product.

  • CVE-2017-5375JIT code allocation can allow for a bypass of ASLR and DEP protections leading to potential memory corruption attacks.
    49Plan
  • CVE-2018-14649It was found that ceph-isci-cli package as shipped by Red Hat Ceph Storage 2 and 3 is using python-werkzeug in debug shell mode.
    43Plan
  • CVE-2016-7050SerializableProvider in RESTEasy in Red Hat Enterprise Linux Desktop 7, Red Hat Enterprise Linux HPC Node 7, Red Hat Enterprise Linux Server
    41Plan
  • CVE-2010-5325Heap-based buffer overflow in the unhtmlify function in foomatic-rip in foomatic-filters before 4.0.6 allows remote attackers to cause a den
    41Plan
  • CVE-2018-5156A vulnerability can occur when capturing a media stream when the media source type is changed as the capture is occurring.
    40Plan
  • CVE-2018-12378A use-after-free vulnerability can occur when an IndexedDB index is deleted while still in use by JavaScript code that is providing payload
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
red hat:postgresql0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-contrib0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-debuginfo0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-devel0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-docs0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-libs0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-plperl0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-plpython0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-pltcl0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-server0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-static0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:postgresql-test0:9.2.23-3.el7_4 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records