USN-4090-1: PostgreSQL vulnerabilities

09 August 2019

Several security issues were fixed in PostgreSQL.

Releases

Packages

  • postgresql-10 - Object-relational SQL database
  • postgresql-11 - Object-relational SQL database
  • postgresql-9.5 - Object-relational SQL database

Details

Tom Lane discovered that PostgreSQL did not properly restrict
functions declared as "SECURITY DEFINER". An attacker could use this
to execute arbitrary SQL with the permissions of the function owner.
(CVE-2019-10208)

Andreas Seltenreich discovered that PostgreSQL did not properly handle
user-defined hash equality operators. An attacker could use this to
expose sensitive information (arbitrary PostgreSQL server memory). This
issue only affected Ubuntu 19.04. (CVE-2019-10209)

Update instructions

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

Ubuntu 19.04
Ubuntu 18.04
Ubuntu 16.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.