USN-5440-1: PostgreSQL vulnerability

Publication date

24 May 2022

Overview

PostgreSQL could be made to execute commands as the superuser.


Packages

Details

Alexander Lakhin discovered that PostgreSQL incorrectly handled the
security restricted operation sandbox when a privileged user is maintaining
another user's objects. An attacker having permission to create non-temp
objects can use this issue to execute arbitrary commands as the superuser.

Alexander Lakhin discovered that PostgreSQL incorrectly handled the
security restricted operation sandbox when a privileged user is maintaining
another user's objects. An attacker having permission to create non-temp
objects can use this issue to execute arbitrary commands as the superuser.

Update instructions

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.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy postgresql-14 –  14.3-0ubuntu0.22.04.1
21.10 impish postgresql-13 –  13.7-0ubuntu0.21.10.1
20.04 focal postgresql-12 –  12.11-0ubuntu0.20.04.1
18.04 bionic postgresql-10 –  10.21-0ubuntu0.18.04.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›