CCIE Academy | ccieacademy.org
Sudo vulnerabilities in Linux have exposed a serious security risk affecting major Linux distributions. These newly discovered Sudo vulnerabilities in Linux could allow local users to escalate privileges and gain unauthorized root access if left unpatched.
Issue:
In Sudo versions before 1.9.17p1, the sudoers file can unintentionally allow users to run commands on unintended machines when specific host settings are misconfigured.
Risk:
Users can execute commands on machines where they should not have access.
Impact:
This is particularly dangerous for environments using shared or LDAP-based sudoers files.
Issue:
In Sudo versions before 1.9.17p1, local users can achieve root access using the --chroot option and a manipulated nsswitch.conf file from a user-controlled directory.
Risk:
This is a critical privilege escalation vulnerability. Even users without sudo permissions can exploit it.
Impact:
The default Sudo configuration is vulnerable, and no special sudo rules are required for exploitation.
Sudo is a Linux command-line tool that allows limited privilege escalation, enabling users to run commands as another user (typically root) without full superuser access.
The flaw CVE-2025-32462 has existed for over 12 years. It abuses the -h (host) option to bypass machine-specific restrictions.
The flaw CVE-2025-32463 allows attackers to trick Sudo into loading malicious libraries by using a fake nsswitch.conf file inside a user-controlled chroot environment.
βAlthough the vulnerability involves the Sudo chroot feature, it does not require any Sudo rules to be defined for the user.β β Rich Mirch, Security Researcher
The following popular Linux distributions are affected by these Sudo vulnerabilities:
βοΈ AlmaLinux 8 & 9
βοΈ Alpine Linux
βοΈ Amazon Linux
βοΈ Debian
βοΈ Gentoo
βοΈ Oracle Linux
βοΈ Red Hat
βοΈ SUSE
βοΈ Ubuntu
Update to Sudo version 1.9.17p1 immediately.
Apply security patches provided by your Linux distribution.
Regularly monitor advisories from your Linux vendor.
βThe Sudo chroot option will be completely removed in future versions to prevent similar attacks.β β Todd C. Miller, Sudo Maintainer
These Sudo vulnerabilities in Linux highlight the ongoing risk of local privilege escalation. Organizations and Linux users must ensure their systems are updated and actively monitored to prevent such security breaches.
For more Linux security updates, visit ccieacademy.org and follow our cybersecurity blogs.