Description
A flaw was discovered in postgresql versions 9.4.x before 9.4.24, 9.5.x before 9.5.19, 9.6.x before 9.6.15, 10.x before 10.10 and 11.x before 11.5 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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
PostgreSQL postgresql
all 11.x before 11.5affectedall 10.x before 10.10affectedall 9.6.x before 9.6.15affectedall 9.5.x before 9.5.19affectedall 9.4.x before 9.4.24affected