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 ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.
SQL Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhatCNA
8 HIGH
NETWORK
LOW
LOW
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 85%
VendorProductVersion
postgresqlpostgresql
10.0 ≤
𝑥
< 10.6
postgresqlpostgresql
11.0 ≤
𝑥
< 11.1
redhatenterprise_linux
7.0
redhatenterprise_linux
7.4
redhatenterprise_linux
7.5
redhatenterprise_linux
7.6
canonicalubuntu_linux
18.04
canonicalubuntu_linux
18.10
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-10
cosmic
Fixed 10.6-0ubuntu0.18.10.1
released
bionic
Fixed 10.6-0ubuntu0.18.04.1
released
xenial
dne
trusty
dne
postgresql-9.1
cosmic
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-9.3
cosmic
dne
bionic
dne
xenial
dne
trusty
not-affected
postgresql-9.5
cosmic
dne
bionic
dne
xenial
not-affected
trusty
dne