Out-of-bounds write in Sudo - CVE-2022-43995

 

Out-of-bounds write in Sudo - CVE-2022-43995

Published: November 5, 2022 / Updated: November 7, 2022


Vulnerability identifier: #VU68973
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-43995
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary condition within plugins/sudoers/auth/passwd.c when Sudo is configured to use the crypt() password backend (e.g. when passwd authentication is enabled). A local user with access to Sudo  can enter a password of 8 characters or fewer to trigger a heap-based buffer over-read and gain access to sensitive information.


Affected software

Sudo
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
Slackware Linux
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
openEuler
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
PowerStore T
EMC ECS
EMC Cloud Tiering Appliance
LANTIME Operating System Firmware (LTOS)
sudo
sudo-debuginfo
sudo-debugsource
sudo-devel
sudo-help
sudo-test
sudo-plugin-python-debuginfo
sudo-plugin-python
app-admin/sudo
Dell EMC NetWorker vProxy
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
Dell Secure Connect Gateway
Dell EMC VxRail Appliance

How to mitigate CVE-2022-43995

Install updates from vendor's website.

Sudo - update to 1.9.12p1
LANTIME Operating System Firmware (LTOS) - addressed in versions 6.24.035, 7.06.008
sudo - addressed in versions 1.8.10p3-10.38.1, 1.8.20p2-3.33.1, 1.8.27-4.30.1, 1.8.27-150000.4.30.1, 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo-debuginfo - addressed in versions 1.8.10p3-10.38.1, 1.8.20p2-3.33.1, 1.8.27-4.30.1, 1.8.27-150000.4.30.1, 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo-debugsource - addressed in versions 1.8.10p3-10.38.1, 1.8.20p2-3.33.1, 1.8.27-4.30.1, 1.8.27-150000.4.30.1, 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo - update to 1.8.23-10.59
sudo-devel - addressed in versions 1.8.27-4.30.1, 1.8.27-150000.4.30.1, 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo-devel - update to 1.9.2-7
sudo-debugsource - update to 1.9.2-7
sudo-debuginfo - update to 1.9.2-7
sudo - update to 1.9.2-7
sudo-help - update to 1.9.2-7
sudo-test - addressed in versions 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo-plugin-python-debuginfo - addressed in versions 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo-plugin-python - addressed in versions 1.9.5p2-150300.3.13.1, 1.9.9-150400.4.6.1
sudo - update to 1.9.12p1
app-admin/sudo - update to 1.9.12-r1
PowerStore T - update to 3.5.0.1-2083289
EMC ECS - update to 3.8.0.2
Dell EMC NetWorker vProxy - update to 4.3.0-40
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
EMC ViPR SRM - update to 4.9.0.0
Dell Secure Connect Gateway - update to 5.14.00.16
Dell EMC VxRail Appliance - update to 7.0.411
EMC Cloud Tiering Appliance - update to 13.1.0.2.29

External References

Related Security Bulletins