Re: [ANNOUNCE] IMPORTANT: two new PostgreSQL security problems

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [ANNOUNCE] IMPORTANT: two new PostgreSQL security problems
Date: 2005-05-03 03:08:58
Message-ID: 20050503.120858.98855969.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-announce pgsql-general

> Two serious security errors have been found in PostgreSQL 7.3 and newer
> releases. These errors at least allow an unprivileged database user to
> crash the backend process, and may make it possible for an unprivileged
> user to gain the privileges of a database superuser.
>
> We are currently preparing new releases that will correct these problems
> in freshly initdb'd installations. However, because these problems are
> really incorrect system catalog entries, updating to a new release will
> NOT by itself solve the problems in an existing installation. Instead,
> it is necessary for the database administrator to fix the catalog entries
> manually, as described below. We are releasing this advisory to encourage
> administrators of PostgreSQL installations to perform these fixes as soon
> as possible.
>
>
> Character conversion vulnerability
> ----------------------------------
>
> The more severe of the two errors is that the functions that support
> client-to-server character set conversion can be called from SQL commands
> by unprivileged users, but these functions are not designed to be safe
> against malicious choices of argument values. This problem exists in
> PostgreSQL 7.3.* through 8.0.*. The recommended fix is to disable public
> EXECUTE access for these functions. This does not affect normal usage of
> the functions for character set conversion, but it will prevent misuse.
[snip]

I apologize as the original developer for CREATE CONVERSION. I should
have made these functions only accessible by privileged users when I
developed it.
--
Tatsuo Ishii

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-05-03 03:48:50 Re: Bad copy-n-paste on character conversion fix - how
Previous Message C. Bensend 2005-05-03 01:58:32 Re: Bad copy-n-paste on character conversion fix - how

Browse pgsql-announce by date

  From Date Subject
Next Message comptech 2005-05-03 12:21:13 REMOVE
Previous Message David Wheeler 2005-05-02 23:23:29 Re: [Dbdpg-general] [ANNOUNCE] pgtop, display PostgreSQL processes in `top' style

Browse pgsql-general by date

  From Date Subject
Next Message Dinesh Pandey 2005-05-03 04:25:41 Re: unable to open editor.
Previous Message Greg Sabino Mullane 2005-05-03 02:01:33 Re: [Dbdpg-general] Re: 'prepare' is not quite schema-safe