USN-5571-1: PostgreSQL vulnerability

Publication date

18 August 2022

Overview

PostgreSQL could be made to run programs when creating or updating extensions.


Packages

Details

Sven Klemm discovered that PostgreSQL incorrectly handled extensions. An
attacker could possibly use this issue to execute arbitrary code when
extensions are created or updated.

Sven Klemm discovered that PostgreSQL incorrectly handled extensions. An
attacker could possibly use this issue to execute arbitrary code when
extensions are created or updated.

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.5-0ubuntu0.22.04.1
20.04 focal postgresql-12 –  12.12-0ubuntu0.20.04.1
18.04 bionic postgresql-10 –  10.22-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 ›