Skip to content

CVE-2019-10130 A vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17. PostgreSQL maintains column statist...

MediumCVSS 4.3 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

A vulnerability was found in PostgreSQL versions 11.x up to excluding 11.3, 10.x up to excluding 10.8, 9.6.x up to, excluding 9.6.13, 9.5.x up to, excluding 9.5.17. 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.

Affected products

ProductAffected versionsFixed in
postgresql >= 9.5.0, < 9.5.17 9.5.17
postgresql >= 9.6.0, < 9.6.13 9.6.13
postgresql >= 10.0, < 10.8 10.8
postgresql >= 11.0, < 11.3 11.3
openSUSE leap = 15.1 No fix listed
PostgreSQL Project postgresql = 11.x up to, excluding 11.3 No fix listed
PostgreSQL Project postgresql = 10.x up to, excluding 10.8 No fix listed
PostgreSQL Project postgresql = 9.6.x up to, excluding 9.6.13 No fix listed
PostgreSQL Project postgresql = 9.5.x up to, excluding 9.5.17 No fix listed
alpine/postgresql(Alpine:v3.10) >= 11.0, < 11.3-r0 11.3-r0
alpine/postgresql(Alpine:v3.11) >= 11.0, < 11.3-r0 11.3-r0
alpine/postgresql(Alpine:v3.12) >= 11.0, < 11.3-r0 11.3-r0
alpine/postgresql(Alpine:v3.13) >= 11.0, < 11.3-r0 11.3-r0
alpine/postgresql(Alpine:v3.14) >= 11.0, < 11.3-r0 11.3-r0
alpine/postgresql(Alpine:v3.6) >= 9.6.0, < 9.6.13-r0 9.6.13-r0
alpine/postgresql(Alpine:v3.7) >= 10.0, < 10.8-r0 10.8-r0
alpine/postgresql(Alpine:v3.8) >= 10.0, < 10.8-r0 10.8-r0
alpine/postgresql(Alpine:v3.9) >= 11.0, < 11.3-r0 11.3-r0
alpine/postgresql14(Alpine:v3.15) < 11.3-r0 11.3-r0
alpine/postgresql14(Alpine:v3.16) < 11.3-r0 11.3-r0
alpine/postgresql14(Alpine:v3.17) < 11.3-r0 11.3-r0
alpine/postgresql14(Alpine:v3.18) < 11.3-r0 11.3-r0
alpine/postgresql14(Alpine:v3.19) < 11.3-r0 11.3-r0
alpine/postgresql14(Alpine:v3.20) < 11.3-r0 11.3-r0
alpine/postgresql15(Alpine:v3.17) < 11.3-r0 11.3-r0
Show 3 more
ProductAffected versionsFixed in
alpine/postgresql15(Alpine:v3.18) < 11.3-r0 11.3-r0
alpine/postgresql15(Alpine:v3.19) < 11.3-r0 11.3-r0
alpine/postgresql15(Alpine:v3.20) < 11.3-r0 11.3-r0

References