{
  "threat_severity" : "Low",
  "public_date" : "2012-02-27T00:00:00Z",
  "bugzilla" : {
    "description" : "postgresql: Absent permission checks on trigger function to be called when creating a trigger",
    "id" : "797222",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=797222"
  },
  "cvss" : {
    "cvss_base_score" : "5.2",
    "cvss_scoring_vector" : "AV:A/AC:L/Au:S/C:P/I:P/A:P",
    "status" : "verified"
  },
  "details" : [ "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." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2012-05-21T00:00:00Z",
    "advisory" : "RHSA-2012:0677",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "postgresql-0:8.1.23-4.el5_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2012-05-21T00:00:00Z",
    "advisory" : "RHSA-2012:0678",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "postgresql84-0:8.4.11-1.el5_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2012-05-21T00:00:00Z",
    "advisory" : "RHSA-2012:0678",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "postgresql-0:8.4.11-1.el6_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 4",
    "fix_state" : "Will not fix",
    "package_name" : "postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2012-0866\nhttps://nvd.nist.gov/vuln/detail/CVE-2012-0866" ],
  "name" : "CVE-2012-0866",
  "csaw" : false
}