diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-20 02:38:05 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-20 02:38:05 +0000 |
commit | fc52d13ca68de10ab837ee4d9a13fd68f69ea33e (patch) | |
tree | 385bc397942e5457b1ecae4df3c8acd5ce752e18 /src/include/postgres.h | |
parent | 2a1b76f04653b28796aa376f8fcb94721b282e44 (diff) | |
download | postgresql-fc52d13ca68de10ab837ee4d9a13fd68f69ea33e.tar.gz postgresql-fc52d13ca68de10ab837ee4d9a13fd68f69ea33e.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/include/postgres.h')
0 files changed, 0 insertions, 0 deletions