{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2018-1115",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "postgresql",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "postegresql 10.4"
                                        },
                                        {
                                            "version_value": " postegresql 9.6.9"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": ""
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "4.2/CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L",
                    "version": "3.0"
                }
            ]
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-732"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "GLSA-201810-08",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201810-08"
            },
            {
                "name": "RHSA-2018:2566",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2566"
            },
            {
                "name": "RHSA-2018:2565",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2565"
            },
            {
                "name": "104285",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/104285"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:1227",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115"
            },
            {
                "name": "https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740",
                "refsource": "CONFIRM",
                "url": "https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740"
            }
        ]
    }
}