{"id":"CVE-2022-31251","state":"PUBLISHED","title":"slurm: %post for slurm-testsuite operates as root in user owned directory","description":"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.","publishedAt":"2022-09-07T08:55:09.171Z","updatedAt":"2024-09-17T01:10:54.793Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H","source":"suse"},"assigner":"suse","products":["SUSE openSUSE Factory"],"affected":[{"vendor":"SUSE","product":"openSUSE Factory","versions":[{"version":"slurm","status":"affected","lessThan":"22.05.2-3.3","versionType":"custom"}]}],"references":["https://bugzilla.suse.com/show_bug.cgi?id=1201674"],"weaknesses":["CWE-276"],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31251.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31251","state":"PUBLISHED","datePublished":"2022-09-07T08:55:09.171Z","dateUpdated":"2024-09-17T01:10:54.793Z","assignerShortName":"suse","assignerOrgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateReserved":"2022-05-20T00:00:00.000Z"},"containers":{"cna":{"title":"slurm: %post for slurm-testsuite operates as root in user owned directory","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"}],"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":[{"cweId":"CWE-276","type":"CWE","lang":"en","description":"CWE-276: Incorrect Default Permissions"}]}],"providerMetadata":{"shortName":"suse","orgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateUpdated":"2023-01-19T00:00:00.000Z"},"datePublic":"2022-08-02T00:00:00.000Z","credits":[{"lang":"en","value":"Johannes Segitz from SUSE"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1201674","defect":["1201674"],"discovery":"INTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1201674","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:11:39.925Z"}}]}}}