Bug 825995 (CVE-2012-2655)
Summary: | CVE-2012-2655 postgresql: Ability of database owners to install procedural languages via CREATE LANGUAGE found unsafe (DoS) | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | devrim, hhorak, security-response-team, tgl |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | postgresql 9.1.4, postgresql 9.0.8, postgresql 8.4.12, postgresql 8.3.19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-25 18:53:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 826606, 830723, 830724, 830725, 830726 | ||
Bug Blocks: | 816965 |
Description
Jan Lieskovsky
2012-05-29 09:46:20 UTC
This issue did NOT affect the version of the postgresql package, as shipped with Red Hat Enterprise Linux 5. In PostgreSQL 8.1.23 version: http://www.postgresql.org/docs/8.1/static/ only superusers are allowed to install procedural languages. Thus while the bug exists in that version too, the superuser requirement / condition is making it not to be a security flaw for this particular version. -- This issue affects the version of the postgresql84 package, as shipped with Red Hat Enterprise Linux 5. -- This issue affects the version of the 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 15 and 16. Created postgresql tracking bugs for this issue Affects: fedora-all [bug 826606] (In reply to comment #3) > This issue affects the versions of the postgresql and postgresql84 packages, > as shipped with Red Hat Enterprise Linux 5. Actually I don't think this is a security issue for Postgres 8.1 (which is what is in the RHEL5 postgresql package). In 8.1, non-superusers can't create procedural languages. So while the bug exists there, it can only be triggered by a superuser; which makes it not a security issue, because superusers ought to know better (and have plenty of better ways than this to mess up the server, anyway). We do need to fix it in postgresql84, as well as RHEL6 postgresql. Documented on upstream security page: http://www.postgresql.org/support/security/ and corrected in 9.1.4, 9.0.8, 8.4.12, and 8.3.19 releases: http://www.postgresql.org/docs/devel/static/release-9-1-4.html http://www.postgresql.org/docs/devel/static/release-9-0-8.html http://www.postgresql.org/docs/8.4/static/release-8-4-12.html http://www.postgresql.org/docs/devel/static/release-8-3-19.html (In reply to comment #7) > (In reply to comment #3) > > This issue affects the versions of the postgresql and postgresql84 packages, > > as shipped with Red Hat Enterprise Linux 5. > > Actually I don't think this is a security issue for Postgres 8.1 (which is > what is in the RHEL5 postgresql package). In 8.1, non-superusers can't > create procedural languages. So while the bug exists there, it can only be > triggered by a superuser; which makes it not a security issue, because > superusers ought to know better (and have plenty of better ways than this to > mess up the server, anyway). > > We do need to fix it in postgresql84, as well as RHEL6 postgresql. Thank you for the correction, Tom. This issue has been addressed in following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Via RHSA-2012:1037 https://rhn.redhat.com/errata/RHSA-2012-1037.html |