USN-6968-1: PostgreSQL vulnerability
19 August 2024
PostgreSQL could execute arbitrary SQL functions as the superuser if it received a specially crafted SQL object.
Releases
Packages
- postgresql-12 - Object-relational SQL database
- postgresql-14 - Object-relational SQL database
- postgresql-16 - Object-relational SQL database
Details
Noah Misch discovered that PostgreSQL incorrectly handled certain
SQL objects. An attacker could possibly use this issue to execute
arbitrary SQL functions as the superuser.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
Ubuntu 22.04
Ubuntu 20.04
This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart PostgreSQL to
make all the necessary changes.
References
Related notices
- USN-6968-2: postgresql-plperl-9.5, postgresql-doc-9.5, libecpg6, libpq-dev, libecpg-compat3, libpq5, postgresql-client-9.5, postgresql-plpython-9.5, postgresql-9.5, postgresql-contrib-9.5, libpgtypes3, libecpg-dev, postgresql-plpython3-9.5, postgresql-server-dev-9.5, postgresql-pltcl-9.5
- USN-6968-3: postgresql-pltcl-9.3, libpq-dev, postgresql-doc-9.3, postgresql-plpython3-9.3, libpgtypes3, libecpg-dev, postgresql-doc-10, postgresql-plpython-9.3, libecpg-compat3, postgresql-contrib-9.3, libpq5, postgresql-plperl-9.3, postgresql-plpython3-10, libecpg6, postgresql-server-dev-9.3, postgresql-plperl-10, postgresql-server-dev-10, postgresql-pltcl-10, postgresql-plpython-10, postgresql-10, postgresql-client-9.3, postgresql-client-10, postgresql-9.3