NetSight
critical9.8

CVE-2018-16850

postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...

Impact

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 products

VendorProductAffected versions
PostgresqlPostgresql
from 10.0 before 10.6
from 11.0 before 11.1
RedhatEnterprise Linux
Versions 7.0, 7.4, 7.5, 7.6
CanonicalUbuntu Linux
Versions 18.04, 18.10

Weakness classification

References