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