From the archive
A flaw in Sudo, which is installed on almost every Linux OS, could let users run commands as “root” even when they are restricted; patched version now available
Attention Linux Users! — A vulnerability has been discovered in Sudo—one of the most important, powerful …
Context & ripple effects
This is one data point in a long series: the corpus records an almost three-year-old privilege escalation bug in the Linux kernel disclosed in 2016, followed months later by a nine-year-old kernel privilege-escalation bug with its own official patch. The common thread is that the deepest layers of Linux plumbing keep hiding decade-scale escalation flaws that only surface when researchers go looking.
Sudo is a sharper case than the kernel bugs because it ships on nearly every Linux distribution, so a single defect becomes universal exposure. That pattern repeats later in the coverage — a now-fixed ten-year-old Sudo bug granting root to any local user, confirmation that the same class of Sudo flaw reaches macOS, and eventually CopyFail, another patched Linux escalation bug many distributions had still not fixed.
First-order effects
- Any Linux administrator who uses Sudo to restrict which commands users may run as root has a broken access control until they deploy the patched version that is now available.
Second-order effects
- Because Sudo sits on essentially every Linux install, distribution maintainers and downstream OS vendors all have to absorb and repackage the same patch on their own release cycles, leaving exposure windows that vary by distro — exactly the lag later seen with CopyFail.
Third-order effects
- If the pattern holds, ubiquitously shared open-source utilities become the highest-leverage audit targets: one researcher finding in Sudo cascades into forced patching across nearly every server, desktop, and embedded Linux system, and the corpus shows the follow-on disclosures did keep coming, including on macOS.
The trend: Security research is converging on the shared plumbing of open-source operating systems, where single privilege-escalation flaws in near-universal components like Sudo turn local bugs into ecosystem-wide patching events.
Related: Linux · Nominal versus usable openness · 10-year-old Sudo bug allowed root access · Sudo vulnerability also impacts macOS · CopyFail Linux privilege escalation bug
Related coverage
- Potential bypass of Runas user restrictions
- Linux Sudo command bug enabled hackers to gain root access
- One of Linux's most important commands had a glaring security flaw
- sudo flaw allows any users to run commands as Root on Linux
- Linux/Unix exploit allows some restricted commands to be run as root without clearance
Discussion
Cool bug, but periodic reminder that the line between local access and privilege escalation on most OS' is wafer thin. https://twitter.com/...
After all these years it's still the simple shit that gets us https://thehackernews.com/...
If you're using sudo... https://www.sudo.ws/... “When sudo is configured to allow a user to run commands as an arbitrary user via the ALL keyword in a Runas specification, it is possible to run commands as root by specifying the user ID -1 or 4294967295.”
More discussion
Please don't ever use “deny list"-type sudo rules. It's easier to get them wrong than right. The documentation even calls this out! https://twitter.com/...