diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-20 02:37:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-20 02:37:38 +0000 |
commit | aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5 (patch) | |
tree | e2a82ea962c8d98ced947ef17a7dd21ca1ff8b38 /src/backend/executor/nodeBitmapOr.c | |
parent | 9350056eaa26ff404e935923fcbb75efa5c23288 (diff) | |
download | postgresql-aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5.tar.gz postgresql-aa27977fe21a7dfa4da4376ad66ae37cb8f0d0b5.zip |
Support explicit placement of the temporary-table schema within search_path.
This is needed to allow a security-definer function to set a truly secure
value of search_path. Without it, a malicious user can use temporary objects
to execute code with the privileges of the security-definer function. Even
pushing the temp schema to the back of the search path is not quite good
enough, because a function or operator at the back of the path might still
capture control from one nearer the front due to having a more exact datatype
match. Hence, disable searching the temp schema altogether for functions and
operators.
Security: CVE-2007-2138
Diffstat (limited to 'src/backend/executor/nodeBitmapOr.c')
0 files changed, 0 insertions, 0 deletions