What’s Vulnerable › Vulnerabilities

CVE-2018-16850

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 products

How to fix

Upgrade to a fixed version: PostgreSQL 10.6, 11.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-16850 or the next vulnerability affects your stack