USN-1542-1: PostgreSQL vulnerabilities

Ubuntu Security Notice USN-1542-1

20th August, 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

Summary

PostgreSQL could allow unintended access to files over the network when using the XML2 extension.

Software description

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

Details

Peter Eisentraut discovered that the XSLT functionality in the optional
XML2 extension would allow unprivileged database users to both read and
write data with the privileges of the database server. (CVE-2012-3488)

Noah Misch and Tom Lane discovered that the XML functionality in the
optional XML2 extension would allow unprivileged database users to
read data with the privileges of the database server. (CVE-2012-3489)

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.5-0ubuntu12.04
Ubuntu 11.10:
postgresql-9.1 9.1.5-0ubuntu11.10
Ubuntu 11.04:
postgresql-8.4 8.4.13-0ubuntu11.04
Ubuntu 10.04 LTS:
postgresql-8.4 8.4.13-0ubuntu10.04
Ubuntu 8.04 LTS:
postgresql-8.3 8.3.20-0ubuntu8.04

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. Due to upstream security policies, this update removes the ability
of xslt_process() to fetch documents or stylesheets from external URLs.
Please see http://www.postgresql.org/about/news/1407/ for more information.
In general, a standard system update will make all the necessary changes.

References

CVE-2012-3488, CVE-2012-3489