CVE-2018-16850
CRITICAL9.8EPSS 1.3%Published: 11/13/2018Modified: 11/19/2025
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 packages (3)
- Alpine/postgresqlfrom 0, < 11.1-r0
- Alpine/postgresql14from 0, < 11.1-r0
- Alpine/postgresql15from 0, < 11.1-r0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |