USN-6968-3: PostgreSQL vulnerability
14 October 2024
PostgreSQL could execute arbitrary SQL functions as the superuser if it received a specially crafted SQL object.
Releases
Packages
- postgresql-10 - Object-relational SQL database
- postgresql-9.3 - Object-relational SQL database
Details
USN-6968-1 fixed CVE-2024-7348 in PostgreSQL-12, PostgreSQL-14, and
PostgreSQL-16.
This update provides the corresponding updates for PostgreSQL-9.3 in
Ubuntu 14.04 LTS and PostgreSQL-10 in Ubuntu 18.04 LTS.
Original advisory 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 18.04
-
postgresql-10
-
10.23-0ubuntu0.18.04.2+esm2
Available with Ubuntu Pro
-
postgresql-client-10
-
10.23-0ubuntu0.18.04.2+esm2
Available with Ubuntu Pro
Ubuntu 14.04
-
postgresql-9.3
-
9.3.24-0ubuntu0.14.04+esm1
Available with Ubuntu Pro
-
postgresql-client-9.3
-
9.3.24-0ubuntu0.14.04+esm1
Available with Ubuntu Pro
After a standard system update you need to restart PostgreSQL to
make all the necessary changes.
References
Related notices
- USN-6968-1: postgresql-14, postgresql-client-12, libecpg6, postgresql-client-14, postgresql-plpython3-12, postgresql-doc-14, postgresql-doc-16, postgresql-pltcl-16, postgresql-plpython3-16, postgresql-server-dev-12, postgresql-server-dev-16, postgresql-16, postgresql-pltcl-12, postgresql-plpython3-14, libecpg-compat3, postgresql-pltcl-14, libpgtypes3, postgresql-server-dev-14, libpq-dev, postgresql-plperl-12, libecpg-dev, postgresql-doc-12, postgresql-plperl-14, postgresql-plperl-16, libpq5, postgresql-client-16, postgresql-12
- USN-6968-2: libecpg-dev, postgresql-client-9.5, postgresql-doc-9.5, postgresql-server-dev-9.5, libecpg6, libecpg-compat3, postgresql-9.5, libpgtypes3, postgresql-plpython-9.5, libpq-dev, postgresql-plperl-9.5, libpq5, postgresql-pltcl-9.5, postgresql-contrib-9.5, postgresql-plpython3-9.5