Submitted by KeesCook on Mon, 2007-02-05 12:07
Referenced CVEs:
CVE-2007-0555, CVE-2007-0556
Description:
===========================================================
Ubuntu Security Notice USN-417-1 February 05, 2007
postgresql-7.4/-8.0/-8.1 vulnerabilities
CVE-2007-0555, CVE-2007-0556
===========================================================
A security issue affects the following Ubuntu releases:
Ubuntu 5.10
Ubuntu 6.06 LTS
Ubuntu 6.10
This advisory also applies to the corresponding versions of
Kubuntu, Edubuntu, and Xubuntu.
The problem can be corrected by upgrading your system to the
following package versions:
Ubuntu 5.10:
postgresql-7.4 1:7.4.8-17ubuntu1.4
postgresql-8.0 8.0.3-15ubuntu2.3
Ubuntu 6.06 LTS:
postgresql-8.1 8.1.4-0ubuntu1.2
Ubuntu 6.10:
postgresql-8.1 8.1.4-7ubuntu0.2
In general, a standard system upgrade is sufficient to effect the
necessary changes.
Details follow:
Jeff Trout discovered that the PostgreSQL server did not sufficiently
check data types of SQL function arguments in some cases. An
authenticated attacker could exploit this to crash the database server
or read out arbitrary locations in the server's memory, which could
allow retrieving database content the attacker should not be able to
see. (CVE-2007-0555)
Jeff Trout reported that the query planner did not verify that a table
was still compatible with a previously made query plan. By using ALTER
COLUMN TYPE during query execution, an attacker could exploit this to
read out arbitrary locations in the server's memory, which could allow
retrieving database content the attacker should not be able to see.
(CVE-2007-0556)


