{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-31251",
        "assignerOrgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb",
        "assignerShortName": "suse",
        "dateUpdated": "2024-09-17T01:10:54.793Z",
        "dateReserved": "2022-05-20T00:00:00",
        "datePublished": "2022-09-07T08:55:09.171815Z"
    },
    "containers": {
        "cna": {
            "title": "slurm: %post for slurm-testsuite operates as root in user owned directory",
            "datePublic": "2022-08-02T00:00:00",
            "providerMetadata": {
                "orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb",
                "shortName": "suse",
                "dateUpdated": "2023-01-19T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A Incorrect Default Permissions vulnerability in the packaging of the slurm testsuite of openSUSE Factory allows local attackers with control over the slurm user to escalate to root. This issue affects: openSUSE Factory slurm versions prior to 22.05.2-3.3."
                }
            ],
            "affected": [
                {
                    "vendor": "SUSE",
                    "product": "openSUSE Factory",
                    "versions": [
                        {
                            "version": "slurm",
                            "status": "affected",
                            "lessThan": "22.05.2-3.3",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugzilla.suse.com/show_bug.cgi?id=1201674"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Johannes Segitz from SUSE"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-276: Incorrect Default Permissions",
                            "cweId": "CWE-276"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "advisory": "https://bugzilla.suse.com/show_bug.cgi?id=1201674",
                "defect": [
                    "1201674"
                ],
                "discovery": "INTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T07:11:39.925Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugzilla.suse.com/show_bug.cgi?id=1201674",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}