Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
postgresql-11 (PTS) | buster, buster (lts) | 11.22-0+deb10u3 | fixed |
| buster (security) | 11.22-0+deb10u2 | fixed |
postgresql-9.1 (PTS) | jessie, jessie (lts) | 9.1.22-0+deb8u1 | fixed |
postgresql-9.4 (PTS) | jessie, jessie (lts) | 9.4.26-0+deb8u10 | fixed |
postgresql-9.6 (PTS) | stretch (security) | 9.6.24-0+deb9u1 | fixed |
| stretch (lts), stretch | 9.6.24-0+deb9u7 | fixed |
The information below is based on the following data on fixed versions.
Notes
- postgresql-9.6 <not-affected> (Only affects 11.x and 10.x)
- postgresql-9.4 <not-affected> (Only affects 11.x and 10.x)
- postgresql-9.1 <not-affected> (Only affects 11.x and 10.x)
https://www.postgresql.org/about/news/1905/
Fixed in 11.1, 10.6