CVE-2012-0866
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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 6 months later
· 6 months later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.6% · top 10% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
n/a
- affected n/a
References (15)
- http://www.postgresql.org/about/news/1377/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2012:027 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 49273 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2012:0678 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- MDVSA-2012:026 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://www.postgresql.org/docs/9.0/static/release-9-0-7.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2012:092 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.postgresql.org/docs/8.4/static/release-8-4-11.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-2418 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www.postgresql.org/docs/8.3/static/release-8-3-18.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 49272 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.postgresql.org/docs/9.1/static/release-9-1-3.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2012:0677 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2012:1173 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-0866)Record last updated .