---
title: "CVE-2017-15099\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-15099?format=md
keywords: index, follow
---

# CVE-2017-15099

Publication date 9 November 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2017-15099?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2017-15099?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| postgresql-10 | 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| postgresql-9.1 | 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| postgresql-9.3 | 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not affected |
| postgresql-9.5 | 17.10 artful | Not in release |
| 17.04 zesty | Not in release |
| 16.04 LTS xenial | Fixed 9.5.10-0ubuntu0.16.04 |
| 14.04 LTS trusty | Not in release |
| postgresql-9.6 | 17.10 artful | Fixed 9.6.6-0ubuntu0.17.10 |
| 17.04 zesty | Fixed 9.6.6-0ubuntu0.17.04 |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

RLS and ON CONFLICT DO UPDATE introduced in 9.5

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15099)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-15099)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-15099)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-15099)

### Related Ubuntu Security Notices (USN)

+ [USN-3479-1](https://usn.ubuntu.com/USN-3479-1)
+ PostgreSQL vulnerabilities
+ 14 November 2017

### Other references

* <https://www.postgresql.org/about/news/1801/>
* <https://www.cve.org/CVERecord?id=CVE-2017-15099>
