aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2024-11-11 09:00:00 -0600
committerNathan Bossart <nathan@postgresql.org>2024-11-11 09:00:00 -0600
commitcd7ab57532bb4fbf2e636b1f7d132e6e2d9ac5fc (patch)
tree9722b0b38892c6de219423fa25bf7e9bdc946fd4 /src/backend/access/gist
parentb7e3a52a877cffb42ec7208232e30a8e44231e01 (diff)
downloadpostgresql-cd7ab57532bb4fbf2e636b1f7d132e6e2d9ac5fc.tar.gz
postgresql-cd7ab57532bb4fbf2e636b1f7d132e6e2d9ac5fc.zip
Ensure cached plans are correctly marked as dependent on role.
If a CTE, subquery, sublink, security invoker view, or coercion projection references a table with row-level security policies, 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. Reported-by: Wolfgang Walther Reviewed-by: Noah Misch Security: CVE-2024-10976 Backpatch-through: 12
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions