{"api_version":"1","generated_at":"2026-04-22T20:02:00+00:00","cve":"CVE-2022-31251","urls":{"html":"https://cve.report/CVE-2022-31251","api":"https://cve.report/api/cve/CVE-2022-31251.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31251","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31251"},"summary":{"title":"CVE-2022-31251","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.","state":"PUBLIC","assigner":"security@suse.com","published_at":"2022-09-07 09:15:00","updated_at":"2023-06-22 19:08:00"},"problem_types":["CWE-276"],"metrics":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1201674","name":"https://bugzilla.suse.com/show_bug.cgi?id=1201674","refsource":"CONFIRM","tags":[],"title":"Bug 1201674 – VUL-0: CVE-2022-31251: slurm: %post for slurm-testsuite operates as root in user owned directory","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31251","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31251","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Johannes Segitz from SUSE","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"31251","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"opensuse","cpe5":"factory","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-31251","qid":"753123","title":"SUSE Enterprise Linux Security Update for slurm (SUSE-SU-2022:3490-1)"},{"cve":"CVE-2022-31251","qid":"753124","title":"SUSE Enterprise Linux Security Update for slurm (SUSE-SU-2022:3468-1)"},{"cve":"CVE-2022-31251","qid":"753274","title":"SUSE Enterprise Linux Security Update for slurm (SUSE-SU-2022:3535-1)"},{"cve":"CVE-2022-31251","qid":"753459","title":"SUSE Enterprise Linux Security Update for slurm_20_02 (SUSE-SU-2022:3491-1)"},{"cve":"CVE-2022-31251","qid":"753488","title":"SUSE Enterprise Linux Security Update for slurm_18_08 (SUSE-SU-2022:3462-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@suse.com","DATE_PUBLIC":"2022-08-02T00:00:00.000Z","ID":"CVE-2022-31251","STATE":"PUBLIC","TITLE":"slurm: %post for slurm-testsuite operates as root in user owned directory"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"openSUSE Factory","version":{"version_data":[{"version_affected":"<","version_name":"slurm","version_value":"22.05.2-3.3"}]}}]},"vendor_name":"SUSE"}]}},"credit":[{"lang":"eng","value":"Johannes Segitz from 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 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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H","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=1201674","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1201674"}]},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1201674","defect":["1201674"],"discovery":"INTERNAL"}},"nvd":{"publishedDate":"2022-09-07 09:15:00","lastModifiedDate":"2023-06-22 19:08:00","problem_types":["CWE-276"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":1,"impactScore":5.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:opensuse:factory:*:*:*:*:*:*:*:*","versionEndExcluding":"22.05.2-3.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}