An array index error, leading to out of heap-based buffer bounds read flaw was found in the way PostgreSQL, an advanced Object-Relational database management system (DBMS), performed retrieval of textual form of error message representation when processing certain enumeration types. An unprivileged database user could issue a specially-crafted SQL query that, when processed by the server component of the PostgreSQL service, would lead to denial of service (daemon crash) or disclosure (of certain portions of) server memory.
This issue did NOT affect the versions of the postgresql package, as shipped with Red Hat Enterprise Linux 5. -- This issue affects the version of the postgresql84 package, as shipped with Red Hat Enterprise Linux 5 and the version of postgresql package, as shipped with Red Hat Enterprise Linux 6. -- This issue affects the versions of the postgresql package, as shipped with Fedora release of 16, 17, and 18.
Acknowledgements: Red Hat would like to thank the PostgreSQL project for reporting this issue. Upstream acknowledges Sumit Soni via Secunia SVCRP as the original issue reporter.
Public via: http://www.postgresql.org/support/security/
Created postgresql tracking bugs for this issue Affects: fedora-all [bug 908722]
Statement: This issue did not affect the version of postgresql, as shipped with Red Hat Enterprise Linux 5. This issue affects the version of postgresql84, as shipped with Red Hat Enterprise Linux 5 and the version of postgresql, as shipped with Red Hat Enterprise Linux 6. Red Hat Security Response Team has rated this issue as having moderate security impact. A future update might address this flaw. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
postgresql-9.2.3-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
postgresql-9.1.8-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
Related upstream commits: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ab0f7b6089fd215f6ce6081e2e222c38d643a526 http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=71627f3d1964ef9831ea7997d2f4ac5617c718cc
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 5 Via RHSA-2013:1475 https://rhn.redhat.com/errata/RHSA-2013-1475.html