
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical vulnerability (CVE-2025-32463) was discovered in Sudo versions 1.9.14 through 1.9.17. The vulnerability allows local users to obtain root access by exploiting the --chroot option, where /etc/nsswitch.conf from a user-controlled directory is used. This vulnerability was discovered and reported by Rich Mirch from Stratascale Cyber Research Unit (CRU) in June 2025 (Oligo Security, OpenWall).
The vulnerability stems from a change introduced in sudo 1.9.14 that allowed path resolution via chroot() using a user-specified root directory while the sudoers file was still being evaluated. An attacker could prepare a writable directory (for example under /tmp), place a fake /etc/nsswitch.conf and a malicious libnss_*.so library there, and then invoke sudo with the --chroot option. This would cause sudo to load the attacker's code with root privileges. The vulnerability has been assigned a Critical CVSS score of 9.3 (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) (NVD, Oligo Security).
The vulnerability allows local users to gain complete root access to affected systems, even if they are not listed in the sudoers file. This enables attackers to execute arbitrary commands with root privileges, potentially leading to complete system compromise. The impact is particularly severe as it requires no special privileges or user interaction to exploit (Oligo Security).
The vulnerability has been fixed in sudo version 1.9.17p1. The fix involves reverting the change from sudo 1.9.14 and marking the chroot feature as deprecated. Major Linux distributions have released patches for their respective versions. System administrators are strongly advised to update to sudo 1.9.17p1 or apply the vendor-provided security patches. Additionally, it is recommended to disable the chroot feature by adding 'Defaults !use_chroot' to the sudoers configuration (OpenWall, Oligo Security).
The vulnerability has received significant attention from the security community due to its critical severity and widespread impact. Major Linux distributions including Ubuntu, Red Hat, SUSE, and Debian have issued security advisories and patches. The discovery has led to increased scrutiny of sudo's security features, particularly those involving directory manipulation and privilege escalation vectors (Ubuntu, SUSE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."