CVE-2012-0866
publishedpostgresql: Absent permission checks on trigger function to be called when creating a trigger
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | postgresql-8.4 | Advisory build | 8.4.11-0squeeze1 | DSA-2418-1 |
| Oracle Linux | 6 | postgresqli686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqli386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Oracle Linux | 6 | postgresqlx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-contribi686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-contribx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-develi686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | postgresql-develx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-docsi686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-docsx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-libsi686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-libsx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-plperli686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-plperlx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-plpythoni686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-plpythonx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-pltcli686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-pltclx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-serveri686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-serverx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-testi686 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Oracle Linux | 6 | postgresql-testx86_64 | Advisory build | 0:8.4.11-1.el6_2 | ELSA-2012-0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqlia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqlppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqlppc64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqls390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqlsrc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresqlx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-contribi386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-contribia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-contribppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-contribs390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-contribx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfoi386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfoia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfoppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfoppc64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfos390 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfos390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-debuginfox86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-develi386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-develia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-develppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-develppc64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-devels390 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-devels390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-develx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-docsi386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-docsia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-docsppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-docss390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-docsx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libsi386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libsia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libsppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libsppc64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libss390 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libss390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-libsx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pli386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-plia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-plppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pls390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-plx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pythoni386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pythonia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pythonppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pythons390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-pythonx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-serveri386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-serveria64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-serverppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-servers390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-serverx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-tcli386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-tclia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-tclppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-tcls390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-tclx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-testi386 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-testia64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-testppc | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-tests390x | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql-testx86_64 | Advisory build | 8.1.23-4.el5_8 | RHSA-2012:0677 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84i386 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84ia64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84ppc | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84ppc64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84s390x | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84src | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84x86_64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-contribi386 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-contribia64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-contribppc | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-contribs390x | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-contribx86_64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-debuginfoi386 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-debuginfoia64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-debuginfoppc | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
| Red Hat Enterprise Linux | RHEL-5 | postgresql84-debuginfoppc64 | Advisory build | 8.4.11-1.el5_8 | RHSA-2012:0678 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
CREATE TRIGGER in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 does not properly check the execute permission for trigger functions marked SECURITY DEFINER, which allows remote authenticated users to execute otherwise restricted triggers on arbitrary data by installing the trigger on an attacker-owned table.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
15- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- openSUSE-SU-2012:1173 http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html
- RHSA-2012:0677 http://rhn.redhat.com/errata/RHSA-2012-0677.html
- RHSA-2012:0678 http://rhn.redhat.com/errata/RHSA-2012-0678.html
- 49272 http://secunia.com/advisories/49272
- 49273 http://secunia.com/advisories/49273
- DSA-2418 http://www.debian.org/security/2012/dsa-2418
- MDVSA-2012:026 http://www.mandriva.com/security/advisories?name=MDVSA-2012:026
- MDVSA-2012:027 http://www.mandriva.com/security/advisories?name=MDVSA-2012:027
- MDVSA-2012:092 http://www.mandriva.com/security/advisories?name=MDVSA-2012:092
- http://www.postgresql.org/about/news/1377/
- http://www.postgresql.org/docs/8.3/static/release-8-3-18.html
- http://www.postgresql.org/docs/8.4/static/release-8-4-11.html
- http://www.postgresql.org/docs/9.0/static/release-9-0-7.html
- http://www.postgresql.org/docs/9.1/static/release-9-1-3.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2371765bd22d54f48c6f8763768c19c161854e0237af69eb47356b22bb8d04d3
- Ingested
- 23 Sep 2026, 07:39:12 UTC
- Source record
- Official CVE record