CVE-2018-1115
published medium CVSS 3.0 · 4.2postgresql: Too-permissive access control list on function pg_logfile_rotate()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| unspecified | — | postgresqlpostegresql 10.4 · postegresql 9.6.9 | Affected | Not stated | redhat |
| Alpine Linux | v3.10 | postgresql | Fixed | 10.4-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.1 | postgresqlnoarch | Advisory build | 12.0.1-lp151.6.9.1 | OPENSUSE-SU-2020:1227-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresqlsrc | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Alpine Linux | v3.11 | postgresql | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 10.4-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.4 | postgresql | Fixed | 9.5.13-r0 | Package fix record |
| Alpine Linux | v3.5 | postgresql | Fixed | 9.6.9-r0 | Package fix record |
| Alpine Linux | v3.6 | postgresql | Fixed | 9.6.9-r0 | Package fix record |
| Alpine Linux | v3.7 | postgresql | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.8 | postgresql | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 10.4-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 10.4-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresqlx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-contribx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-contrib-syspathsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-debuginfox86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-develx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-docsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-libsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-plperlx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-plpythonx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-pltclx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-serverx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-server-syspathsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-staticx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-syspathsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-testx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqls390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlsrc | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresqlx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribs390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contribx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contrib-syspathsaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contrib-syspathsppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contrib-syspathss390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-contrib-syspathsx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-debuginfoaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-debuginfoppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-debuginfos390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-debuginfox86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-develaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-develppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-devels390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-develx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-docsaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-docsppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-docss390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-docsx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-libsaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-libsppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-libss390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-libsx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plperlaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plperlppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plperls390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plperlx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plpythonaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plpythonppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plpythons390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-plpythonx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-pltclaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-pltclppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-pltcls390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-pltclx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-serveraarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-serverppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-servers390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-serverx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-server-syspathsaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-server-syspathsppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-server-syspathss390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-server-syspathsx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-staticaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-staticppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-statics390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-staticx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-syspathsaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-syspathsppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-syspathss390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-syspathsx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-testaarch64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-testppc64le | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-tests390x | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql10-postgresql-testx86_64 | Advisory build | 10.5-1.el7 | RHSA-2018:2565 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql96-postgresqlaarch64 | Advisory build | 9.6.10-1.el7 | RHSA-2018:2566 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| unspecified | postgresql | postegresql 10.4 (affected)postegresql 9.6.9 (affected) | redhat · cna |
Weaknesses
1- CWE-732
References
7- openSUSE-SU-2020:1227 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- 104285 http://www.securityfocus.com/bid/104285
- RHSA-2018:2565 https://access.redhat.com/errata/RHSA-2018:2565
- RHSA-2018:2566 https://access.redhat.com/errata/RHSA-2018:2566
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740
- GLSA-201810-08 https://security.gentoo.org/glsa/201810-08
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bfbb11295ded8b9e4791324a6d6432d7229daf84e5d61ec6c4768cf71eb7b314
- Ingested
- 09 Oct 2026, 16:22:04 UTC
- Source record
- Official CVE record