summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-05-08 10:12:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-05-08 10:12:44 -0400
commitca73753b090c33bc69ce299b4d7fff891a77b8ad (patch)
tree802e903b453a2022d73a88b8c3753532c5e615af /contrib
parent681d9e4621aac0a9c71364b6f54f00f6d8c4337f (diff)
downloadpostgresql-ca73753b090c33bc69ce299b4d7fff891a77b8ad.tar.gz
Handle RLS dependencies in inlined set-returning functions properly.
If an SRF in the FROM clause references a table having row-level security policies, and we inline that SRF into the calling query, we neglected to mark the plan as potentially dependent on which role is executing it. This could lead to later executions in the same session returning or hiding rows that should have been hidden or returned instead. Our thanks to Wolfgang Walther for reporting this problem. Stephen Frost and Tom Lane Security: CVE-2023-2455
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions