Security mailing lists by PureSourceCode

CVE-2012-0866

MEDIUM 6.5CVSS 2.0

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.

Published
18 Jul 2012
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-264
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3:*:*:*:*:*:*:*
= 8.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.1:*:*:*:*:*:*:*
= 8.3.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.2:*:*:*:*:*:*:*
= 8.3.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.3:*:*:*:*:*:*:*
= 8.3.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.4:*:*:*:*:*:*:*
= 8.3.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.5:*:*:*:*:*:*:*
= 8.3.5
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.6:*:*:*:*:*:*:*
= 8.3.6
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.7:*:*:*:*:*:*:*
= 8.3.7
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.8:*:*:*:*:*:*:*
= 8.3.8
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.9:*:*:*:*:*:*:*
= 8.3.9
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.10:*:*:*:*:*:*:*
= 8.3.10
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.11:*:*:*:*:*:*:*
= 8.3.11
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.12:*:*:*:*:*:*:*
= 8.3.12
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.13:*:*:*:*:*:*:*
= 8.3.13
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.14:*:*:*:*:*:*:*
= 8.3.14
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.15:*:*:*:*:*:*:*
= 8.3.15
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.16:*:*:*:*:*:*:*
= 8.3.16
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.3.17:*:*:*:*:*:*:*
= 8.3.17
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4:*:*:*:*:*:*:*
= 8.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.1:*:*:*:*:*:*:*
= 8.4.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.2:*:*:*:*:*:*:*
= 8.4.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.3:*:*:*:*:*:*:*
= 8.4.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.4:*:*:*:*:*:*:*
= 8.4.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.5:*:*:*:*:*:*:*
= 8.4.5
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.6:*:*:*:*:*:*:*
= 8.4.6
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.7:*:*:*:*:*:*:*
= 8.4.7
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.8:*:*:*:*:*:*:*
= 8.4.8
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.9:*:*:*:*:*:*:*
= 8.4.9
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:8.4.10:*:*:*:*:*:*:*
= 8.4.10
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0:*:*:*:*:*:*:*
= 9.0
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0.1:*:*:*:*:*:*:*
= 9.0.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0.2:*:*:*:*:*:*:*
= 9.0.2
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0.3:*:*:*:*:*:*:*
= 9.0.3
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0.4:*:*:*:*:*:*:*
= 9.0.4
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0.5:*:*:*:*:*:*:*
= 9.0.5
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.0.6:*:*:*:*:*:*:*
= 9.0.6
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.1:*:*:*:*:*:*:*
= 9.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.1.1:*:*:*:*:*:*:*
= 9.1.1
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:9.1.2:*:*:*:*:*:*:*
= 9.1.2

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 18 Jul 2012)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.