Name | CVE-2017-15099 |
Description | INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges. Exploits bypass row level security policies and lack of SELECT privilege. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4028-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
postgresql-9.1 (PTS) | jessie, jessie (lts) | 9.1.22-0+deb8u1 | fixed |
postgresql-9.4 (PTS) | jessie, jessie (lts) | 9.4.26-0+deb8u9 | fixed |
postgresql-9.6 (PTS) | stretch (security) | 9.6.24-0+deb9u1 | fixed |
stretch (lts), stretch | 9.6.24-0+deb9u6 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
postgresql-10 | source | (unstable) | 10.1-1 | |||
postgresql-9.1 | source | (unstable) | (not affected) | |||
postgresql-9.4 | source | (unstable) | (not affected) | |||
postgresql-9.6 | source | stretch | 9.6.6-0+deb9u1 | DSA-4028-1 | ||
postgresql-9.6 | source | (unstable) | (unfixed) |
- postgresql-9.4 <not-affected> (ON CONFLICT DO UPDATE and RLS introduced in 9.5)
- postgresql-9.1 <not-affected> (ON CONFLICT DO UPDATE and RLS introduced in 9.5)