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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libecpg6-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libecpg6": "9.5.19-0ubuntu0.16.04.1", "postgresql-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "postgresql-doc-9.5": "9.5.19-0ubuntu0.16.04.1", "libpq5": "9.5.19-0ubuntu0.16.04.1", "libpq5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "postgresql-plpython3-9.5": "9.5.19-0ubuntu0.16.04.1", "libpq-dev": "9.5.19-0ubuntu0.16.04.1", "libecpg-dev-dbgsym": "9.5.19-0ubuntu0.16.04.1", "postgresql-plpython3-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libpgtypes3-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libecpg-compat3": "9.5.19-0ubuntu0.16.04.1", "postgresql-client-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-contrib-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-9.5-dbg": "9.5.19-0ubuntu0.16.04.1", "postgresql-server-dev-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-server-dev-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libecpg-dev": "9.5.19-0ubuntu0.16.04.1", "postgresql-contrib-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "postgresql-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-plpython-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "postgresql-client-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libpgtypes3": "9.5.19-0ubuntu0.16.04.1", "postgresql-plperl-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-pltcl-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-plperl-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "postgresql-plpython-9.5": "9.5.19-0ubuntu0.16.04.1", "postgresql-pltcl-9.5-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libecpg-compat3-dbgsym": "9.5.19-0ubuntu0.16.04.1", "libpq-dev-dbgsym": "9.5.19-0ubuntu0.16.04.1" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libpgtypes3-dbgsym": "10.10-0ubuntu0.18.04.1", "libecpg6": "10.10-0ubuntu0.18.04.1", "postgresql-client-10-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-plpython3-10-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-plperl-10-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-server-dev-10-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-pltcl-10-dbgsym": "10.10-0ubuntu0.18.04.1", "libecpg-dev": "10.10-0ubuntu0.18.04.1", "postgresql-plperl-10": "10.10-0ubuntu0.18.04.1", "libpq5": "10.10-0ubuntu0.18.04.1", "libpq5-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-client-10": "10.10-0ubuntu0.18.04.1", "libpgtypes3": "10.10-0ubuntu0.18.04.1", "libpq-dev": "10.10-0ubuntu0.18.04.1", "libecpg-dev-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-doc-10": "10.10-0ubuntu0.18.04.1", "postgresql-plpython-10": "10.10-0ubuntu0.18.04.1", "postgresql-10": "10.10-0ubuntu0.18.04.1", "postgresql-10-dbgsym": "10.10-0ubuntu0.18.04.1", "postgresql-plpython-10-dbgsym": "10.10-0ubuntu0.18.04.1", "libecpg-compat3": "10.10-0ubuntu0.18.04.1", "postgresql-server-dev-10": "10.10-0ubuntu0.18.04.1", "postgresql-pltcl-10": "10.10-0ubuntu0.18.04.1", "postgresql-plpython3-10": "10.10-0ubuntu0.18.04.1", "libecpg-compat3-dbgsym": "10.10-0ubuntu0.18.04.1", "libecpg6-dbgsym": "10.10-0ubuntu0.18.04.1" } ] }