{
    "CVE_data_meta": {
        "ASSIGNER": "security@suse.com",
        "DATE_PUBLIC": "2021-05-20T00:00:00.000Z",
        "ID": "CVE-2021-31997",
        "STATE": "PUBLIC",
        "TITLE": "python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Leap 15.2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "python-postorius",
                                            "version_value": "1.3.2-lp152.1.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Factory",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "python-postorius",
                                            "version_value": "1.3.4-2.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "openSUSE"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Matthias Gerstner of SUSE"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2, Factory allows local attackers to escalate from users postorius or postorius-admin to root. This issue affects: openSUSE Leap 15.2 python-postorius version 1.3.2-lp152.1.2 and prior versions. openSUSE Factory python-postorius version 1.3.4-2.1 and prior versions."
            }
        ]
    },
    "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-59: Improper Link Resolution Before File Access ('Link Following')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1182407",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1182407"
            }
        ]
    },
    "source": {
        "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1182407",
        "defect": [
            "1182407"
        ],
        "discovery": "INTERNAL"
    }
}
