{"id":"CVE-2018-16850","published":"2018-11-13T15:00:00Z","modified":"2024-08-05T10:32:54Z","title":"postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER…","vendor":"The PostgreSQL Project","product":"postgresql","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0515,"percentile":0.9262,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://usn.ubuntu.com/3818-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3757","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.postgresql.org/about/news/1905/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1042144","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://security.gentoo.org/glsa/201811-24","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/bid/105923","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16850","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":18.52},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"the-postgresql-project","affectedVersions":[{"vendor":"The PostgreSQL Project","product":"postgresql","versions":["11.1","10.6"]}],"summary":{"text":"The PostgreSQL project's postgresql is affected by a SQL injection flaw in pg_upgrade and pg_dump, triggered by the handling of CREATE TRIGGER ... REFERENCING definitions. An attacker who supplies a purpose-crafted trigger definition, with the user interaction and low privileges the attack vector requires, can cause arbitrary SQL statements to run with superuser privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:03:25Z"},"euvd":{"id":"EUVD-2018-8644","exploited":false,"provenance":"source"}}