USN-1461-1: PostgreSQL vulnerabilities

Ubuntu Security Notice USN-1461-1

5th June, 2012

postgresql-8.3, postgresql-8.4, postgresql-9.1 vulnerabilities

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

  • Ubuntu 12.04 LTS
  • Ubuntu 11.10
  • Ubuntu 11.04
  • Ubuntu 10.04 LTS
  • Ubuntu 8.04 LTS


PostgreSQL could be made to crash or incorrectly handle authentication.

Software description

  • postgresql-8.3 - Object-relational SQL database
  • postgresql-8.4 - Object-relational SQL database
  • postgresql-9.1 - Object-relational SQL database


It was discovered that PostgreSQL incorrectly handled certain bytes passed
to the crypt() function when using DES encryption. An attacker could use
this flaw to incorrectly handle authentication. (CVE-2012-2143)

It was discovered that PostgreSQL incorrectly handled SECURITY DEFINER and
SET attributes on procedural call handlers. An attacker could use this flaw
to cause PostgreSQL to crash, leading to a denial of service.

Update instructions

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

Ubuntu 12.04 LTS:
postgresql-9.1 9.1.4-0ubuntu12.04
Ubuntu 11.10:
postgresql-9.1 9.1.4-0ubuntu11.10
Ubuntu 11.04:
postgresql-8.4 8.4.12-0ubuntu11.04
Ubuntu 10.04 LTS:
postgresql-8.4 8.4.12-0ubuntu10.04
Ubuntu 8.04 LTS:
postgresql-8.3 8.3.19-0ubuntu8.04

To update your system, please follow these instructions:

This update uses a new upstream release, which includes additional bug
fixes. In general, a standard system update will make all the necessary


CVE-2012-2143, CVE-2012-2655