{"schemaVersion":3,"id":"CVE-2018-1115","aliases":["ALPINE-CVE-2018-1115","SUSE-SU-2018:1695-1","UBUNTU-CVE-2018-1115"],"status":"published","duplicateOf":null,"title":null,"description":"postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation.","dates":{"published":"2018-05-10T19:00:00.000Z","modified":"2026-10-08T21:24:18.222Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":4.2,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":4.2,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","exploitability":10,"impact":8.7,"computed":true}]},"epss":{"probability":0.03898,"percentile":0.90132,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03898},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04042,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04042,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03898,"percentile":0.90132}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03898,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03898,"percentile":0.90132}]},"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-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.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.0, < 10.4-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0, < 9.5.13-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0, < 9.6.9-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 10.0, < 10.4-r0 | ≥ 10.0, < 9.5.13-r0 | ≥ 10.0, < 9.6.9-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.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.4-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.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.4-r0","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-10","name":"postgresql-10","label":"postgresql-10","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-10","purlType":"deb","versions":[{"text":"< 10.4-0ubuntu0.18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.4-0ubuntu0.18.04","eol":null,"hubHref":null},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.6.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.0, < 10.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9 | ≥ 10.0, < 10.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"},{"vendor":"suse","product":"postgresql96-libs&distro=SUSE Linux Enterprise Desktop 12 SP3","name":"postgresql96-libs","label":"postgresql96-libs&distro=SUSE Linux Enterprise Desktop 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96-libs&distro=SUSE Linux Enterprise Desktop 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql96-libs&distro=SUSE Linux Enterprise Server 12 SP3","name":"postgresql96-libs","label":"postgresql96-libs&distro=SUSE Linux Enterprise Server 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96-libs&distro=SUSE Linux Enterprise Server 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql96-libs&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","name":"postgresql96-libs","label":"postgresql96-libs&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96-libs&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql96-libs&distro=SUSE Linux Enterprise Software Development Kit 12 SP3","name":"postgresql96-libs","label":"postgresql96-libs&distro=SUSE Linux Enterprise Software Development Kit 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96-libs&distro=SUSE Linux Enterprise Software Development Kit 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql96&distro=SUSE Linux Enterprise Desktop 12 SP3","name":"postgresql96","label":"postgresql96&distro=SUSE Linux Enterprise Desktop 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96&distro=SUSE Linux Enterprise Desktop 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql96&distro=SUSE Linux Enterprise Server 12 SP3","name":"postgresql96","label":"postgresql96&distro=SUSE Linux Enterprise Server 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96&distro=SUSE Linux Enterprise Server 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"postgresql96&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","name":"postgresql96","label":"postgresql96&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/postgresql96&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP3","purlType":"rpm","versions":[{"text":"< 9.6.9-3.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.6.9-3.19.1","eol":null,"hubHref":null},{"vendor":"unspecified","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"postegresql 10.4","noFixRecorded":false,"fixedIn":null},{"text":"postegresql 9.6.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"postegresql 10.4 | postegresql 9.6.9","eol":null,"hubHref":"/vendor/unspecified/postgresql"}],"affectedCount":14,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://security.gentoo.org/glsa/201810-08","label":"security.gentoo.org/glsa/201810-08","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"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","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2565","label":"access.redhat.com/errata/RHSA-2018:2565","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/104285","label":"www.securityfocus.com/bid/104285","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html","label":"lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740","label":"git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740","hostname":"git.postgresql.org","tags":["X Refsource CONFIRM"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-1115","label":"security.alpinelinux.org/vuln/CVE-2018-1115","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20181695-1/","label":"www.suse.com/support/update/announcement/2018/suse-su-20181695-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1091610","label":"bugzilla.suse.com/1091610","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1115","label":"www.suse.com/security/cve/CVE-2018-1115","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-1115","label":"ubuntu.com/security/CVE-2018-1115","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740","label":"git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740","hostname":"git.postgresql.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1115","label":"www.cve.org/CVERecord?id=CVE-2018-1115","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2018-0446","OPENSUSE-SU-2020:1227-1","OPENSUSE-SU-2024:11184-1","RHSA-2018:2565","RHSA-2018:2566","SUSE-SU-2018:2564-1"],"duplicates":[],"related":["OPENSUSE-SU-2020:1227-1","OPENSUSE-SU-2024:11184-1","SUSE-SU-2018:2564-1"]},"timeline":[{"kind":"published","date":"2018-05-10T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T21:24:18.222Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T05:24:44.814Z","stale":false,"partial":false}}