Back to CVE catalog
CVE-2019-10130

PostgreSQL row security policy bypass via statistics

PostgreSQL Project postgresql

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS summary v3.1

4.3Medium
Published:
Updated:
EPSS:
1.056%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:PostgreSQL ProjectpostgresqlAffected versions:
11.x up to, excluding 11.3Show full version range for postgresql
10.x up to, excluding 10.89.6.x up to, excluding 9.6.139.5.x up to, excluding 9.5.17
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 8)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream E4S (v. 8.0)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream EUS (v. 8.1)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux AppStream EUS (v. 8.2)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Software CollectionsAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)Affected versions:Source does not specify a version range

1–10 of 13 · Page 1 of 2

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary4.3 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
redhat · CVE List / CNA (cna)3.1 / 10LowCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
[email protected] · NVD (Secondary)3.1 / 10LowCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Red Hat · Red Hat VEX (adp)3.1 / 10LowCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
[email protected] · NVD (Primary)4.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Single

Source vector

AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories8

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences