[postgresql] multiple vulnerabilities

Bug #181720 reported by disabled.user
254
Affects Status Importance Assigned to Milestone
postgresql (Ubuntu)
Fix Released
High
Martin Pitt
Nominated for Hardy by Martin Pitt
Dapper
Fix Released
Undecided
Martin Pitt
Edgy
Fix Released
Undecided
Martin Pitt
Feisty
Fix Released
Undecided
Unassigned
Gutsy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: postgresql

References:
MDVSA-2008:004 (http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:004)

Quoting:
"Index Functions Privilege Escalation (CVE-2007-6600): as a unique
feature, PostgreSQL allows users to create indexes on the results of
user-defined functions, known as expression indexes. This provided
two vulnerabilities to privilege escalation: (1) index functions were
executed as the superuser and not the table owner during VACUUM and
ANALYZE, and (2) that SET ROLE and SET SESSION AUTHORIZATION were
permitted within index functions.

Regular Expression Denial-of-Service (CVE-2007-4772, CVE-2007-6067,
CVE-2007-4769): three separate issues in the regular expression
libraries used by PostgreSQL allowed malicious users to initiate
a denial-of-service by passing certain regular expressions in SQL
queries. First, users could create infinite loops using some specific
regular expressions. Second, certain complex regular expressions
could consume excessive amounts of memory. Third, out-of-range backref
numbers could be used to crash the backend.

DBLink Privilege Escalation (CVE-2007-6601): DBLink functions
combined with local trust or ident authentication could be used by
a malicious user to gain superuser privileges. This issue has been
fixed, and does not affect users who have not installed DBLink (an
optional module), or who are using password authentication for local
access. This same problem was addressed in the previous release cycle
(see CVE-2007-3278), but that patch failed to close all forms of
the loophole.

Updated packages fix these issues by upgrading to the latest
maintenance versions of PostgreSQL."

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for reporting this bug and helping make Ubuntu even better. Currently there are packages in -proposed that address these issues. Once they have received wider testing, they will be pushed to the security archive.

Changed in postgresql:
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

There's one small regression reported on the upstream list. I'll wait a bit to see how bad it actually is. I'd like to see this mature a bit more before we push it out to -security.

Changed in postgresql:
assignee: nobody → pitti
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

Hardy has fixed postgresql-8.[12].

Changed in postgresql:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed versions are in {dapper,edgy,feisty,gutsy}-proposed. Testing feedback greatly appreciated.

I'm currently preparing -security uploads with the regression mentioned above fixed.

Changed in postgresql:
assignee: nobody → pitti
status: New → Fix Committed
assignee: nobody → pitti
status: New → Fix Committed
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I also unsub'ed ubuntu-sru. This is a security update.

Changed in postgresql:
status: New → Fix Committed
Revision history for this message
disabled.user (disabled.user-deactivatedaccount) wrote :

See also DSA-1460-1 (http://www.debian.org/security/2008/dsa-1460). Adding additional CVE references.

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in postgresql:
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.