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.
References (7)
Core 7
Core References
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3818-1/
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3757
Release Notes, Vendor Advisory x_refsource_confirm
https://www.postgresql.org/about/news/1905/
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1042144
Mitigation, Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201811-24
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/105923
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850
Scores
CVSS v3
9.8
EPSS
0.0132
EPSS Percentile
80.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-89
Status
published
Products (7)
canonical/ubuntu_linux
18.04
canonical/ubuntu_linux
18.10
postgresql/postgresql
10.0 - 10.6
redhat/enterprise_linux
7.0
redhat/enterprise_linux
7.4
redhat/enterprise_linux
7.5
redhat/enterprise_linux
7.6
Published
Nov 13, 2018
Tracked Since
Feb 18, 2026