{
    "CVE_data_meta": {
        "ASSIGNER": "security@suse.com",
        "DATE_PUBLIC": "2021-05-25T00:00:00.000Z",
        "ID": "CVE-2021-31998",
        "STATE": "PUBLIC",
        "TITLE": "inn: %post calls user owned file allowing local privilege escalation to root"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "SUSE Linux Enterprise Server 11-SP3",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "inn",
                                            "version_value": "inn-2.4.2-170.21.3.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "SUSE"
                },
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "openSUSE Backports SLE-15-SP2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "inn",
                                            "version_value": "2.6.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "openSUSE Leap 15.2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "inn",
                                            "version_value": "2.6.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "openSUSE"
                }
            ]
        }
    },
    "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 Incorrect Default Permissions vulnerability in the packaging of inn of SUSE Linux Enterprise Server 11-SP3; openSUSE Backports SLE-15-SP2, openSUSE Leap 15.2 allows local attackers to escalate their privileges from the news user to root. This issue affects: SUSE Linux Enterprise Server 11-SP3 inn version inn-2.4.2-170.21.3.1 and prior versions. openSUSE Backports SLE-15-SP2 inn versions prior to 2.6.2. openSUSE Leap 15.2 inn versions prior to 2.6.2."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-276: Incorrect Default Permissions"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1182321",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1182321"
            }
        ]
    },
    "source": {
        "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1182321",
        "defect": [
            "1182321"
        ],
        "discovery": "INTERNAL"
    }
}