USN-3818-1: PostgreSQL vulnerability

14 November 2018

postgresql-10 vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 18.10
  • Ubuntu 18.04 LTS

Summary

PostgreSQL could be made to run SQL statements as the administrator.

Software Description

  • postgresql-10 - Object-relational SQL database

Details

It was discovered that PostgreSQL incorrectly handled certain trigger definitions when running pg_upgrade or pg_dump. A remote attacker could possibly use this issue to execute arbitrary SQL statements with superuser privileges.

Update instructions

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

Ubuntu 18.10
postgresql-10 - 10.6-0ubuntu0.18.10.1
Ubuntu 18.04 LTS
postgresql-10 - 10.6-0ubuntu0.18.04.1

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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