Remote Code Execution Vulnerability in PostgreSQL
Key Information:
- Vendor
Red Hat
- Status
- CVE ID
- CVE ID:
- CVE-2017-12172
- Vendor
- CVE Published:
- 22 November 2017
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Why it's rated "Monitor"
- Its CVSS severity is medium (6.7).
What is CVE-2017-12172?
PostgreSQL versions 10.x prior to 10.1 and various 9.x versions are susceptible to a remote code execution vulnerability. The issue arises when PostgreSQL runs under a non-root operation account and database superusers are granted the ability to execute arbitrary code. This vulnerability is exploitative in nature, as attackers could potentially escalate their privileges to root level. The root of the problem lies in the handling of log file names, which database superusers may replace with symbolic links that the system executes as root upon starting the server. This configuration creates a loophole that can be abused, underscoring the importance of applying timely updates and utilizing stringent security practices.
Affected Version(s)
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
References
More Red Hat Vulnerabilities
Arbitrary Command Execution Vulnerability in Ghostscript Software
Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool
Time-based sudo vulnerability in Sudo
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction