A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libecpg-compat3" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libecpg-compat3-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libecpg-dev" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libecpg-dev-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libecpg6" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libecpg6-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libpgtypes3" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libpgtypes3-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libpq-dev" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libpq-dev-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libpq5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "libpq5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-9.5-dbg" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-client-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-client-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-contrib-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-contrib-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-doc-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-plperl-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-plperl-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-plpython-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-plpython-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-plpython3-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-plpython3-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-pltcl-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-pltcl-9.5-dbgsym" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-server-dev-9.5" }, { "binary_version": "9.5.24-0ubuntu0.16.04.1", "binary_name": "postgresql-server-dev-9.5-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libecpg-compat3" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libecpg-compat3-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libecpg-dev" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libecpg-dev-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libecpg6" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libecpg6-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libpgtypes3" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libpgtypes3-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libpq-dev" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libpq5" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "libpq5-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-10-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-client-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-client-10-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-doc-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-plperl-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-plperl-10-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-plpython-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-plpython-10-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-plpython3-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-plpython3-10-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-pltcl-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-pltcl-10-dbgsym" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-server-dev-10" }, { "binary_version": "10.15-0ubuntu0.18.04.1", "binary_name": "postgresql-server-dev-10-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libecpg-compat3" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libecpg-compat3-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libecpg-dev" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libecpg-dev-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libecpg6" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libecpg6-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libpgtypes3" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libpgtypes3-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libpq-dev" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libpq5" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "libpq5-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-12" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-12-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-client-12" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-client-12-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-doc-12" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-plperl-12" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-plperl-12-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-plpython3-12" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-plpython3-12-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-pltcl-12" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-pltcl-12-dbgsym" }, { "binary_version": "12.5-0ubuntu0.20.04.1", "binary_name": "postgresql-server-dev-12" } ] }