PostgreSQL: Multiple vulnerabilities — GLSA 200502-08

PostgreSQL contains several vulnerabilities which could lead to execution of arbitrary code, Denial of Service and security bypass.

Affected packages

dev-db/postgresql on all architectures
Affected versions < 7.3.10
< 7.4.7
< 8.0.1
Unaffected versions = 7.3*
= 7.4*
>= 8.0.1

Background

PostgreSQL is a SQL compliant, open source object-relational database management system.

Description

PostgreSQL's contains several vulnerabilities:

  • John Heasman discovered that the LOAD extension is vulnerable to local privilege escalation (CAN-2005-0227).
  • It is possible to bypass the EXECUTE permission check for functions (CAN-2005-0244).
  • The PL/PgSQL parser is vulnerable to heap-based buffer overflow (CAN-2005-0244).
  • The intagg contrib module is vulnerable to a Denial of Service (CAN-2005-0246).

Impact

An attacker could exploit this to execute arbitrary code with the privileges of the PostgreSQL server, bypass security restrictions and crash the server.

Workaround

There is no know workaround at this time.

Resolution

All PostgreSQL users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose dev-db/postgresql

References

Release date
February 07, 2005

Latest revision
June 26, 2007: 06

Severity
normal

Exploitable
remote and local

Bugzilla entries