aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-03-28 10:57:42 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-03-28 10:57:42 -0300
commit3e1338475ffc2eac25de60a9de9ce689b763aced (patch)
tree6ec5f54ec09d3e8fbb7305ac59656dd5661293d2 /src/backend/parser/parse_clause.c
parent86ebf30fd6d8964bbd5d48db053b0a7ff709a0d7 (diff)
downloadpostgresql-3e1338475ffc2eac25de60a9de9ce689b763aced.tar.gz
postgresql-3e1338475ffc2eac25de60a9de9ce689b763aced.zip
Add missing checks to some of pageinspect's BRIN functions
brin_page_type() and brin_metapage_info() did not enforce being called by superuser, like other pageinspect functions that take bytea do. Since they don't verify the passed page thoroughly, it is possible to use them to read the server memory with a carefully crafted bytea value, up to a file kilobytes from where the input bytea is located. Have them throw errors if called by a non-superuser. Report and initial patch: Andreas Seltenreich Security: CVE-2016-3065
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions