Lucene search

K
freebsdFreeBSD065890C3-725E-11E9-B0E1-6CC21735F730
HistoryMay 09, 2019 - 12:00 a.m.

PostgreSQL -- Selectivity estimators bypass row security policies

2019-05-0900:00:00
vuxml.freebsd.org
27

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

4.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

0.002 Low

EPSS

Percentile

53.8%

The PostgreSQL project reports:

    PostgreSQL maintains statistics for tables by sampling
    data available in columns; this data is consulted during
    the query planning process. Prior to this release, a user
    able to execute SQL queries with permissions to read a
    given column could craft a leaky operator that could
    read whatever data had been sampled from that column.
    If this happened to include values from rows that the user
    is forbidden to see by a row security policy, the user
    could effectively bypass the policy. This is fixed by only
    allowing a non-leakproof operator to use this data if
    there are no relevant row security policies for the table.

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

4.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

0.002 Low

EPSS

Percentile

53.8%