{
    "CVE_data_meta": {
        "ASSIGNER": "security@microfocus.com",
        "DATE_PUBLIC": "2017-11-27T00:00:00.000Z",
        "ID": "CVE-2017-14798",
        "STATE": "PUBLIC",
        "TITLE": "local privilege escalation in SUSE postgresql init script "
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "postgresql-init",
                                "version": {
                                    "version_data": [
                                        {
                                            "affected": "<=",
                                            "version_value": "9.4-0.5.3.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "suse"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Johannes Segitz of SUSE"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A race condition in the postgresql init script could be used by attackers able to access the postgresql account to escalate their privileges to root."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "creation of directory could follow symlinks"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-61"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "45184",
                "refsource": "EXPLOIT-DB",
                "url": "https://www.exploit-db.com/exploits/45184/"
            },
            {
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1062722",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1062722"
            },
            {
                "name": "https://www.suse.com/de-de/security/cve/CVE-2017-14798/",
                "refsource": "CONFIRM",
                "url": "https://www.suse.com/de-de/security/cve/CVE-2017-14798/"
            },
            {
                "name": "SUSE-SU-2017:3107",
                "refsource": "SUSE",
                "url": "http://lists.suse.com/pipermail/sle-security-updates/2017-November/003420.html"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "Update to the update packages."
        }
    ],
    "source": {
        "advisory": "http://lists.suse.com/pipermail/sle-security-updates/2017-November/003420.html",
        "defect": [
            "https://bugzilla.suse.com/show_bug.cgi?id=1062722"
        ],
        "discovery": "INTERNAL"
    }
}