CVE-2017-15099
Published: 9 November 2017
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.
Notes
Author | Note |
---|---|
sbeattie | RLS and ON CONFLICT DO UPDATE introduced in 9.5 |
Priority
Status
Package | Release | Status |
---|---|---|
postgresql-10 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
upstream |
Released
(10.1)
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
postgresql-9.1 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
(trusty was not-affected)
|
|
upstream |
Not vulnerable
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
postgresql-9.3 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Not vulnerable
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
zesty |
Does not exist
|
|
postgresql-9.5 Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Released
(9.5.10-0ubuntu0.16.04)
|
|
zesty |
Does not exist
|
|
postgresql-9.6 Launchpad, Ubuntu, Debian |
artful |
Released
(9.6.6-0ubuntu0.17.10)
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
|
zesty |
Released
(9.6.6-0ubuntu0.17.04)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |