Description
postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| The PostgreSQL Project | postgresql | 11.1; 10.6 |
References
- http://www.securityfocus.com/bid/105923Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release Notes, Vendor Advisory
- http://www.securityfocus.com/bid/105923Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042144Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3757Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-24Mitigation, Third Party Advisory
- https://usn.ubuntu.com/3818-1/Third Party Advisory
- https://www.postgresql.org/about/news/1905/Release Notes, Vendor Advisory
Timeline
- Published
- Nov 13, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified