{"api_version":"1","generated_at":"2026-04-22T20:01:02+00:00","cve":"CVE-2022-31256","urls":{"html":"https://cve.report/CVE-2022-31256","api":"https://cve.report/api/cve/CVE-2022-31256.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31256","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31256"},"summary":{"title":"CVE-2022-31256","description":"A Improper Link Resolution Before File Access ('Link Following') vulnerability in a script called by the sendmail systemd service of openSUSE Factory allows local attackers to escalate from user mail to root. This issue affects: SUSE openSUSE Factory sendmail versions prior to 8.17.1-1.1.","state":"PUBLIC","assigner":"security@suse.com","published_at":"2022-10-26 09:15:00","updated_at":"2022-10-28 17:49:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1204696","name":"https://bugzilla.suse.com/show_bug.cgi?id=1204696","refsource":"CONFIRM","tags":[],"title":"Bug 1204696 – VUL-0: CVE-2022-31256: sendmail: mail to root privilege escalation via sm-client.pre script","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31256","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31256","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Matthias Gerstner and Filippo Bonazzi from SUSE","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"31256","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-31256","qid":"752770","title":"SUSE Enterprise Linux Security Update for sendmail (SUSE-SU-2022:3899-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@suse.com","DATE_PUBLIC":"2022-10-26T00:00:00.000Z","ID":"CVE-2022-31256","STATE":"PUBLIC","TITLE":"sendmail: mail to root privilege escalation via sm-client.pre script"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"openSUSE Factory","version":{"version_data":[{"version_affected":"<","version_name":"sendmail","version_value":"8.17.1-1.1"}]}}]},"vendor_name":"SUSE"}]}},"credit":[{"lang":"eng","value":"Matthias Gerstner and Filippo Bonazzi from SUSE"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A Improper Link Resolution Before File Access ('Link Following') vulnerability in a script called by the sendmail systemd service of openSUSE Factory allows local attackers to escalate from user mail to root. This issue affects: SUSE openSUSE Factory sendmail versions prior to 8.17.1-1.1."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/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=1204696","refsource":"CONFIRM","url":"https://bugzilla.suse.com/show_bug.cgi?id=1204696"}]},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1204696","defect":["1204696"],"discovery":"INTERNAL"}},"nvd":{"publishedDate":"2022-10-26 09:15:00","lastModifiedDate":"2022-10-28 17:49:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:opensuse:factory:*:*:*:*:*:*:*:*","versionEndExcluding":"8.17.1-1.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}