Rapid7 Vulnerability & Exploit Database

CESA-2006:0526: postgresql security update

Free InsightVM Trial No credit card necessary
Watch Demo See how it all works
Back to Search

CESA-2006:0526: postgresql security update



Updated postgresql packages that fix several security vulnerabilities are now available for CentOS Linux 3 and 4. This update has been rated as having important security impact by the Red Hat Security Response Team.

PostgreSQL is an advanced Object-Relational database management system (DBMS). A bug was found in the way PostgreSQL's PQescapeString function escapes strings when operating in a multibyte character encoding. It is possible for an attacker to provide an application a carefully crafted string containing invalidly-encoded characters, which may be improperly escaped, allowing the attacker to inject malicious SQL. While this update fixes how PQescapeString operates, the PostgreSQL server has also been modified to prevent such an attack occurring through unpatched clients. (CVE-2006-2313, CVE-2006-2314). More details about this issue are available in the linked PostgreSQL technical documentation. An integer signedness bug was found in the way PostgreSQL generated password salts. The actual salt size is only half the size of the expected salt, making the process of brute forcing password hashes slightly easier. This update will not strengthen already existing passwords, but all newly assigned passwords will have the proper salt length. (CVE-2006-0591) Users of PostgreSQL should upgrade to these updated packages containing PostgreSQL version 7.4.13, which corrects these issues.


  • centos-upgrade-postgresql
  • centos-upgrade-postgresql-contrib
  • centos-upgrade-postgresql-devel
  • centos-upgrade-postgresql-docs
  • centos-upgrade-postgresql-jdbc
  • centos-upgrade-postgresql-libs
  • centos-upgrade-postgresql-pl
  • centos-upgrade-postgresql-python
  • centos-upgrade-postgresql-server
  • centos-upgrade-postgresql-tcl
  • centos-upgrade-postgresql-test
  • centos-upgrade-rh-postgresql
  • centos-upgrade-rh-postgresql-contrib
  • centos-upgrade-rh-postgresql-devel
  • centos-upgrade-rh-postgresql-docs
  • centos-upgrade-rh-postgresql-jdbc
  • centos-upgrade-rh-postgresql-libs
  • centos-upgrade-rh-postgresql-pl
  • centos-upgrade-rh-postgresql-python
  • centos-upgrade-rh-postgresql-server
  • centos-upgrade-rh-postgresql-tcl
  • centos-upgrade-rh-postgresql-test

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center