Lucene search

K
redhatcveRedhat.comRH:CVE-2019-10208
HistoryAug 08, 2019 - 6:52 p.m.

CVE-2019-10208

2019-08-0818:52:21
redhat.com
access.redhat.com
20

0.002 Low

EPSS

Percentile

57.1%

A flaw was discovered in postgresql where arbitrary SQL statements can be executed given a suitable SECURITY DEFINER function. An attacker, with EXECUTE permission on the function, can execute arbitrary SQL as the owner of the function.

Mitigation

If your use case requires SECURITY DEFINER functions, please follow the advice below to write them safely so they do not rely on search_path and restrict the set of users which can access them.

<https://www.postgresql.org/docs/devel/sql-createfunction.html#SQL-CREATEFUNCTION-SECURITY&gt;