PostgreSQL Data Exposure Due to INSERT ON CONFLICT Vulnerability
Key Information:
- Vendor
Red Hat
- Status
- CVE ID
- CVE ID:
- CVE-2017-15099
- Vendor
- CVE Published:
- 22 November 2017
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- 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 β2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Postgresql. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.5).
What is CVE-2017-15099?
This vulnerability in PostgreSQL allows attackers to gain unauthorized access to sensitive table contents through the use of INSERT ... ON CONFLICT DO UPDATE commands. The flaw exists in PostgreSQL versions 10.x prior to 10.1, 9.6.x prior to 9.6.6, and 9.5.x prior to 9.5.10, where users lacking SELECT privileges can exploit INSERT and UPDATE capabilities to bypass row-level security policies, exposing data they are otherwise restricted from viewing. This could lead to significant confidentiality and integrity issues within affected database systems.
Affected Version(s)
postgresql 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10
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