- Issued:
- 2008-02-01
- Updated:
- 2008-02-01
RHSA-2008:0040 - Security Advisory
Synopsis
Moderate: postgresql security update
Type/Severity
Security Advisory: Moderate
Topic
Updated postgresql packages that fix several security issues are now
available for Red Hat Application Stack v1 and v2.
This update has been rated as having moderate security impact by the Red
Hat Security Response Team.
Description
PostgreSQL is an advanced Object-Relational database management system
(DBMS). The postgresql packages include the client programs and libraries
needed to access a PostgreSQL DBMS server.
Will Drewry discovered multiple flaws in PostgreSQL's regular expression
engine. An authenticated attacker could use these flaws to cause a denial
of service by causing the PostgreSQL server to crash, enter an infinite
loop, or use extensive CPU and memory resources while processing queries
containing specially crafted regular expressions. Applications that accept
regular expressions from untrusted sources may expose this problem to
unauthorized attackers. (CVE-2007-4769, CVE-2007-4772, CVE-2007-6067)
A privilege escalation flaw was discovered in PostgreSQL. An authenticated
attacker could create an index function that would be executed with
administrator privileges during database maintenance tasks, such as
database vacuuming. (CVE-2007-6600)
A privilege escalation flaw was discovered in PostgreSQL's Database Link
library (dblink). An authenticated attacker could use dblink to possibly
escalate privileges on systems with "trust" or "ident" authentication
configured. Please note that dblink functionality is not enabled by
default, and can only by enabled by a database administrator on systems
with the postgresql-contrib package installed.
(CVE-2007-3278, CVE-2007-6601)
All postgresql users should upgrade to these updated packages, which
include PostgreSQL 8.1.11 and 8.2.6, and resolve these issues.
Solution
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188
Affected Products
- Red Hat Application Stack 2 (for RHEL Server) 2 x86_64
- Red Hat Application Stack 2 (for RHEL Server) 2 i386
- Red Hat Application Stack 1 1 x86_64
- Red Hat Application Stack 1 1 i386
Fixes
- BZ - 309141 - CVE-2007-3278 dblink allows proxying of database connections via 127.0.0.1
- BZ - 315231 - CVE-2007-4769 postgresql integer overflow in regex code
- BZ - 316511 - CVE-2007-4772 postgresql DoS via infinite loop in regex NFA optimization code
- BZ - 400931 - CVE-2007-6067 postgresql: tempory DoS caused by slow regex NFA cleanup
- BZ - 427127 - CVE-2007-6600 PostgreSQL privilege escalation
- BZ - 427128 - CVE-2007-6601 PostgreSQL privilege escalation via dblink
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.