{"id":"CVE-2022-31256","state":"PUBLISHED","title":"sendmail: mail to root privilege escalation via sm-client.pre script","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.","publishedAt":"2022-10-26T08:55:09.458Z","updatedAt":"2025-05-09T19:11:55.650Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"suse"},"assigner":"suse","products":["SUSE openSUSE Factory"],"affected":[{"vendor":"SUSE","product":"openSUSE Factory","versions":[{"version":"sendmail","status":"affected","lessThan":"8.17.1-1.1","versionType":"custom"}]}],"references":["https://bugzilla.suse.com/show_bug.cgi?id=1204696"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31256.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31256","state":"PUBLISHED","datePublished":"2022-10-26T08:55:09.458Z","dateUpdated":"2025-05-09T19:11:55.650Z","assignerShortName":"suse","assignerOrgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateReserved":"2022-05-20T00:00:00.000Z"},"containers":{"cna":{"title":"sendmail: mail to root privilege escalation via sm-client.pre script","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"SUSE","product":"openSUSE Factory","versions":[{"version":"sendmail","status":"affected","lessThan":"8.17.1-1.1","versionType":"custom"}]}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1204696"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","type":"CWE","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')"}]}],"providerMetadata":{"shortName":"suse","orgId":"404e59f5-483d-4b8a-8e7a-e67604dd8afb","dateUpdated":"2022-10-26T00:00:00.000Z"},"datePublic":"2022-10-26T00:00:00.000Z","credits":[{"lang":"en","value":"Matthias Gerstner and Filippo Bonazzi from SUSE"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"advisory":"https://bugzilla.suse.com/show_bug.cgi?id=1204696","defect":["1204696"],"discovery":"INTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1204696","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:11:39.944Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-09T19:11:41.776330Z","id":"CVE-2022-31256","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-09T19:11:55.650Z"}}]}}}