{"schemaVersion":3,"id":"CVE-2017-15099","aliases":["ALPINE-CVE-2017-15099","UBUNTU-CVE-2017-15099"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-11-22T18:00:00.000Z","modified":"2024-09-16T16:43:27.924Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.06324,"percentile":0.93552,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.06324},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05811,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06324,"percentile":0.93552}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05811,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06324,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06324,"percentile":0.93552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"}],"affected":[{"vendor":"alpine","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql","purlType":"apk","versions":[{"text":"< 10.1-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 9.5.10-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 9.6.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.1-r0 | < 9.5.10-r0 | < 9.6.6-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql14","name":"postgresql14","label":"postgresql14","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql14","purlType":"apk","versions":[{"text":"< 10.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.1-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql15","name":"postgresql15","label":"postgresql15","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql15","purlType":"apk","versions":[{"text":"< 10.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.1-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.5","name":"postgresql-9.5","label":"postgresql-9.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.5","purlType":"deb","versions":[{"text":"< 9.5.10-0ubuntu0.16.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.5.10-0ubuntu0.16.04","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.5","noFixRecorded":false,"fixedIn":null},{"text":"9.5.1","noFixRecorded":false,"fixedIn":null},{"text":"9.5.2","noFixRecorded":false,"fixedIn":null},{"text":"9.5.3","noFixRecorded":false,"fixedIn":null},{"text":"9.5.4","noFixRecorded":false,"fixedIn":null},{"text":"9.5.5","noFixRecorded":false,"fixedIn":null},{"text":"9.5.6","noFixRecorded":false,"fixedIn":null},{"text":"9.5.7","noFixRecorded":false,"fixedIn":null},{"text":"9.5.8","noFixRecorded":false,"fixedIn":null},{"text":"9.5.9","noFixRecorded":false,"fixedIn":null},{"text":"9.6","noFixRecorded":false,"fixedIn":null},{"text":"9.6.1","noFixRecorded":false,"fixedIn":null},{"text":"9.6.2","noFixRecorded":false,"fixedIn":null},{"text":"9.6.3","noFixRecorded":false,"fixedIn":null},{"text":"9.6.4","noFixRecorded":false,"fixedIn":null},{"text":"9.6.5","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.5 | 9.5.1 | 9.5.2 | 9.5.3 | 9.5.4 | 9.5.5 | 9.5.6 | 9.5.7 | 9.5.8 | 9.5.9 | 9.6 | 9.6.1 | 9.6.2 | 9.6.3 | 9.6.4 | 9.6.5 | 10.0","eol":{"isEol":true,"eolDate":"2021-02-11T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9.5","label":"9.5","eolFrom":"2021-02-11T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"9.5.25"},"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"},{"vendor":"red hat, inc.","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10","eol":null,"hubHref":"/vendor/red_hat_inc/postgresql"}],"affectedCount":7,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://www.securityfocus.com/bid/101781","label":"www.securityfocus.com/bid/101781","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2511","label":"access.redhat.com/errata/RHSA-2018:2511","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://www.postgresql.org/support/security/","label":"www.postgresql.org/support/security/","hostname":"www.postgresql.org","tags":["X Refsource MISC","Issue Tracking","Vendor Advisory"]},{"url":"http://www.securitytracker.com/id/1039752","label":"www.securitytracker.com/id/1039752","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://www.postgresql.org/about/news/1801/","label":"www.postgresql.org/about/news/1801/","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Issue Tracking","Vendor Advisory","REPORT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2566","label":"access.redhat.com/errata/RHSA-2018:2566","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://www.debian.org/security/2017/dsa-4028","label":"www.debian.org/security/2017/dsa-4028","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Issue Tracking","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-15099","label":"security.alpinelinux.org/vuln/CVE-2017-15099","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-15099","label":"ubuntu.com/security/CVE-2017-15099","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3479-1","label":"ubuntu.com/security/notices/USN-3479-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-15099","label":"www.cve.org/CVERecord?id=CVE-2017-15099","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DSA-4028-1","MGASA-2017-0428","OPENSUSE-SU-2024:11184-1","RHSA-2018:2511","RHSA-2018:2566","SUSE-SU-2017:3391-1","USN-3479-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11184-1","SUSE-SU-2017:3391-1","USN-3479-1"]},"timeline":[{"kind":"published","date":"2017-11-22T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T16:43:27.924Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:12:13.283Z","stale":false,"partial":false}}