CVE-2018-16850
Published: 8 November 2018
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.
Notes
Author | Note |
---|---|
mdeslaur | only affects 10.x and 11.x per upstream security page |
Priority
Status
Package | Release | Status |
---|---|---|
postgresql-10 Launchpad, Ubuntu, Debian |
upstream |
Released
(10.6)
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
bionic |
Released
(10.6-0ubuntu0.18.04.1)
|
|
cosmic |
Released
(10.6-0ubuntu0.18.10.1)
|
|
postgresql-9.5 Launchpad, Ubuntu, Debian |
upstream |
Not vulnerable
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
postgresql-9.3 Launchpad, Ubuntu, Debian |
upstream |
Not vulnerable
|
trusty |
Not vulnerable
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
postgresql-9.1 Launchpad, Ubuntu, Debian |
upstream |
Not vulnerable
|
trusty |
Does not exist
(trusty was not-affected)
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |