Bug 1707109 (CVE-2019-10130) - CVE-2019-10130 postgresql: Selectivity estimators bypass row security policies
Summary: CVE-2019-10130 postgresql: Selectivity estimators bypass row security policies
Keywords:
Status: NEW
Alias: CVE-2019-10130
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1709193 1709194 1709195 1709197 1709192 1709196
Blocks: 1707112
TreeView+ depends on / blocked
 
Reported: 2019-05-06 20:02 UTC by Pedro Sampaio
Modified: 2019-09-29 15:13 UTC (History)
37 users (show)

Fixed In Version: postgresql 11.3, postgresql 10.8, postgresql 9.6.13, postgresql 9.5.17
Doc Type: If docs needed, set a value
Doc Text:
PostgreSQL maintains column statistics for tables. Certain statistics, such as histograms and lists of most common values, contain values taken from the column. PostgreSQL does not evaluate row security policies before consulting those statistics during query planning; an attacker can exploit this to read the most common values of certain columns. Affected columns are those for which the attacker has SELECT privilege and for which, in an ordinary query, row-level security prunes the set of rows visible to the attacker.
Clone Of:
Environment:
Last Closed: 2019-06-05 12:49:53 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2019-05-06 20:02:17 UTC
PostgreSQL maintains column statistics for tables. Certain statistics, such
as histograms and lists of most common values, contain values taken from the
column. PostgreSQL does not evaluate row security policies before consulting
those statistics during query planning; an attacker can exploit this to read
the most common values of certain columns. Affected columns are those for
which the attacker has SELECT privilege and for which, in an ordinary query,
row-level security prunes the set of rows visible to the attacker.

Comment 1 Pedro Sampaio 2019-05-06 20:02:23 UTC
Acknowledgments:

Name: Noah Misch, the PostgreSQL Project
Upstream: Dean Rasheed

Comment 3 Doran Moppert 2019-05-13 07:22:59 UTC
Created mingw-postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1709193]


Created postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1709192]

Comment 5 Doran Moppert 2019-05-15 05:15:56 UTC
External References:

https://www.postgresql.org/about/news/1939/

Comment 6 Doran Moppert 2019-06-28 05:14:25 UTC
Statement:

This vulnerability requires row level security to be in use, and an attacker to be able to execute crafted queries against the target PostgreSQL database. Neither of these conditions is true in Red Hat Ansible Tower, Red Hat CloudForms or Red Hat Satellite.


Note You need to log in before you can comment on or make changes to this bug.