Skip to content
OpenAdvisories
Medium · 4.2 CVE-2018-1115 EUVD-2018-11759GHSA-54w7-jv4g-qhqg

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 May 10, 2018 · Updated Oct 8, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— postgresql postegresql 10.4, postegresql 9.6.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS postgresql-10 10.4-0ubuntu0.18.04 —
ReleasePackageFixed inAdvisory
RHEL 3 rh-postgresql10-postgresql +13 10.5-1.el7 RHSA-2018:2565
RHEL 3 rh-postgresql96-postgresql +13 9.6.10-1.el6 RHSA-2018:2566
ReleasePackageFixed inAdvisory
SLES 15 postgresql10 10.5-4.5.1 SUSE-SU-2018:2564-1
SLES 12 SP3 postgresql96 +1 9.6.9-3.19.1 SUSE-SU-2018:1695-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 postgresql96 +1 9.6.9-3.19.1 SUSE-SU-2018:1695-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed postgresql10 10.18-1.3 openSUSE-SU-2024:11184-1
openSUSE Leap 15.1 postgresql 12.0.1-lp151.6.9.1 openSUSE-SU-2020:1227-1
openSUSE Leap 15.1 postgresql10 10.13-lp151.2.14.1 openSUSE-SU-2020:1227-1
openSUSE Leap 15.1 postgresql12 12.3-lp151.2.1 openSUSE-SU-2020:1227-1
openSUSE Leap 15.1 postgresql96 9.6.19-lp151.3.3.1 openSUSE-SU-2020:1227-1
ReleasePackageFixed inAdvisory
Alpine v3.20 postgresql14 +1 10.4-r0 —
Alpine v3.19 postgresql14 +1 10.4-r0 —
Alpine v3.18 postgresql14 +1 10.4-r0 —
Alpine v3.17 postgresql14 +1 10.4-r0 —
Alpine v3.16 postgresql14 10.4-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.15 postgresql14 10.4-r0 —
Alpine v3.14 postgresql 10.4-r0 —
Alpine v3.13 postgresql 10.4-r0 —
Alpine v3.12 postgresql 10.4-r0 —
Alpine v3.11 postgresql 10.4-r0 —
Alpine v3.10 postgresql 10.4-r0 —
Alpine v3.9 postgresql 10.4-r0 —
Alpine v3.8 postgresql 10.4-r0 —
Alpine v3.7 postgresql 10.4-r0 —
Alpine v3.6 postgresql 9.6.9-r0 —
Alpine v3.5 postgresql 9.6.9-r0 —
Alpine v3.4 postgresql 9.5.13-r0 —

Advisories 6

References