Skip to content
Fencer Vulns
medium 4.2

CVE-2018-1115 json

postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow…

published 2018-05-10 8 y ago modified 2026-10-08 31 d ago also EUVD-2018-11759

cvss
4.2
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.8%
EPSS 3.8% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • postgresql postgresql 9.6.9, 10.4
  • postgresql-10 Ubuntu 18.04 LTS 10.4-0ubuntu0.18.04

ubuntu advisories UBUNTU-CVE-2018-1115

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-postgresql10-postgresql RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-libs RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-test RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-pltcl RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-plperl RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-server RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-contrib RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7
  • rh-postgresql10-postgresql-plpython RHEL 3 SOFTWARE_COLLECTIONS 10.5-1.el7

red hat advisories RHSA-2018:2565RHSA-2018:2566

  • postgresql10 SLE Module for Server Applications 15, SLE Module for Basesystem 15 10.5-4.5.1
  • postgresql96 SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 9.6.9-3.19.1
  • postgresql96-libs SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 +1 more 9.6.9-3.19.1

suse advisories SUSE-SU-2018:2564-1SUSE-SU-2018:1695-1

  • postgresql10 openSUSE Tumbleweed 10.18-1.3
  • postgresql10 openSUSE Leap 15.1 10.13-lp151.2.14.1
  • postgresql12 openSUSE Leap 15.1 12.3-lp151.2.1
  • postgresql openSUSE Leap 15.1 12.0.1-lp151.6.9.1
  • postgresql96 openSUSE Leap 15.1 9.6.19-lp151.3.3.1

opensuse advisories openSUSE-SU-2024:11184-1openSUSE-SU-2020:1227-1

  • postgresql Alpine 3.14, Alpine 3.13, Alpine 3.12 +5 more 10.4-r0
  • postgresql Alpine 3.4 9.5.13-r0
  • postgresql Alpine 3.6, Alpine 3.5 9.6.9-r0
  • postgresql14 Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 10.4-r0
  • postgresql15 Alpine 3.20, Alpine 3.19, Alpine 3.18 +1 more 10.4-r0

alpine advisories ALPINE-CVE-2018-1115

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1115 updated cvss 4.2

postgresql: Too-permissive access control list on function pg_logfile_rotate()

  • Red Hat JBoss Operations Network 3 postgresql
    affected: no fix planned “Out of support scope”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, rh-postgresql96-postgresql-pltcl 9.6.10-1.el6, rh-postgresql96-postgresql-plperl 9.6.10-1.el6, rh-postgresql96-postgresql-server 9.6.10-1.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, rh-postgresql10-postgresql-plperl 10.5-1.el7, +16 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, rh-postgresql96-postgresql-pltcl 9.6.10-1.el6, rh-postgresql96-postgresql-plperl 9.6.10-1.el6, rh-postgresql96-postgresql-server 9.6.10-1.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, rh-postgresql10-postgresql-plperl 10.5-1.el7, +16 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, rh-postgresql10-postgresql-plperl 10.5-1.el7, +16 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, rh-postgresql10-postgresql-plperl 10.5-1.el7, +16 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, rh-postgresql96-postgresql-pltcl 9.6.10-1.el6, rh-postgresql96-postgresql-plperl 9.6.10-1.el6, rh-postgresql96-postgresql-server 9.6.10-1.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, rh-postgresql10-postgresql-plperl 10.5-1.el7, +16 more
    fixed: vendor fix RHSA-2018:2566
  • Red Hat CloudForms Management Engine 5 postgresql94, postgresql94-libs, postgresql94-test, postgresql94-pltcl, postgresql94-plperl, postgresql94-server, +3 more Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +7 more Red Hat JBoss Fuse Service Works 6 postgresql
    +4 more products
    Red Hat Mobile Application Platform 4 postgresql Red Hat Satellite 5 postgresql95-postgresql Red Hat Single Sign-On 7 postgresql Red Hat Software Collections rh-postgresql94-postgresql, rh-postgresql95-postgresql, rh-postgresql94-postgresql-libs, rh-postgresql94-postgresql-test, rh-postgresql95-postgresql-libs, rh-postgresql95-postgresql-test, +11 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
31 d ago

Exploit prediction

3.83% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 4.2 CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
NVD 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P

Affected products

  • unspecified postgresql

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.