Skip to content
OpenAdvisories
High · 7.7 CVE-2022-31256 EUVD-2022-52833GHSA-cfgc-fgg8-p3qf

sendmail: mail to root privilege escalation via sm-client.pre script

Published Oct 26, 2022 · Updated May 9, 2025 · Assigned by suse

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.

Affected products

VendorProductAffectedFixed
SUSE openSUSE Factory sendmail – < 8.17.1-1.1 8.17.1-1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP4 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLES 15 SP3 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLES 15 SP2 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLES 15 SP1 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLES 15 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 sendmail 8.14.9-4.6.1 SUSE-SU-2022:3898-1
SLES for SAP 15 SP2 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLES for SAP 15 SP1 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLES for SAP 15 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLE HPC 15 SP2 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLE HPC 15 SP1 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SLE HPC 15 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SUSE Manager Server 4.1 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SUSE Manager Retail Branch Server 4.1 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SUSE Manager Proxy 4.1 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SUSE Enterprise Storage 7 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
SUSE Enterprise Storage 6 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1
openSUSE Leap 15.3 sendmail 8.15.2-150000.8.9.1 SUSE-SU-2022:3899-1

Advisories 2

References