Skip to content
OpenAdvisories
High · 7.1 CVE-2022-43995 EUVD-2022-46959GHSA-3r97-xp9v-83jf

Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can r…

Published Nov 2, 2022 · Updated May 5, 2025 · Assigned by mitre

Description

Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.

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
Debian 14 sudo 1.9.12p1-1 —
Debian 13 sudo 1.9.12p1-1 —
Debian 12 sudo 1.9.12p1-1 —
ReleasePackageFixed inAdvisory
SLES 15 SP4 sudo 1.9.9-150400.4.6.1 SUSE-SU-2022:4001-1
SLES 15 SP3 sudo 1.9.5p2-150300.3.13.1 SUSE-SU-2022:4077-1
SLES 15 SP2 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLES 15 SP1 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLES 15 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
Show 22 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 sudo 1.8.27-4.30.1 SUSE-SU-2022:4280-1
SLES 12 SP4 sudo 1.8.20p2-3.33.1 SUSE-SU-2022:4240-1
SLES 12 SP3 sudo 1.8.20p2-3.33.1 SUSE-SU-2022:4240-1
SLES 12 SP2 sudo 1.8.10p3-10.38.1 SUSE-SU-2022:3886-1
SLES for SAP 15 SP2 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLES for SAP 15 SP1 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLES for SAP 15 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLES for SAP 12 SP5 sudo 1.8.27-4.30.1 SUSE-SU-2022:4280-1
SLES for SAP 12 SP4 sudo 1.8.20p2-3.33.1 SUSE-SU-2022:4240-1
SLE Micro 5.3 sudo 1.9.9-150400.4.6.1 SUSE-SU-2022:4001-1
SLE Micro 5.2 sudo 1.9.5p2-150300.3.13.1 SUSE-SU-2022:4077-1
SLE Micro 5.1 sudo 1.9.5p2-150300.3.13.1 SUSE-SU-2022:4077-1
SLE HPC 15 SP2 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLE HPC 15 SP1 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SLE HPC 15 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SUSE OpenStack Cloud Crowbar 9 sudo 1.8.20p2-3.33.1 SUSE-SU-2022:4240-1
SUSE OpenStack Cloud 9 sudo 1.8.20p2-3.33.1 SUSE-SU-2022:4240-1
SUSE Manager Server 4.1 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SUSE Manager Retail Branch Server 4.1 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SUSE Manager Proxy 4.1 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SUSE Enterprise Storage 7 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
SUSE Enterprise Storage 6 sudo 1.8.27-150000.4.30.1 SUSE-SU-2022:3938-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sudo 1.9.12-3.1 openSUSE-SU-2024:12483-1
openSUSE Leap 15.4 sudo 1.9.9-150400.4.6.1 SUSE-SU-2022:4001-1
openSUSE Leap 15.3 sudo 1.9.5p2-150300.3.13.1 SUSE-SU-2022:4077-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 sudo 1.9.5p2-150300.3.13.1 SUSE-SU-2022:4077-1
ReleasePackageFixed inAdvisory
Alpine v3.15 sudo 1.9.12-r1 —
Alpine v3.14 sudo 1.9.12-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 sudo +3 1.9.12-1.p2.amzn2023.0.2 ALAS2023-2023-106

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) sudo 1.9.12p1-1 —

Advisories 12

References