CVEvulnerability

CVE-2018-16850

9.8 CRITICAL Published 2018-11-13 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-11-13
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
8.0 HIGH — CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-89

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.

Affected configurations

• postgresql postgresql (>= 10.0 < 10.6) • postgresql postgresql (>= 11.0 < 11.1) • redhat enterprise linux 7.0 • redhat enterprise linux 7.4 • redhat enterprise linux 7.5 • redhat enterprise linux 7.6 • canonical ubuntu linux 18.04 • canonical ubuntu linux 18.10

Related

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References