# A now-fixed 10-year-old bug in Sudo used in several versions of Linux allowed any local user to gain root access

A fixed 10-year-old Sudo flaw let local users gain root access on several Linux versions.

Record as of 1 February 2021. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/962691.json>

## A now-fixed 10-year-old bug in Sudo used in several versions of Linux allowed any local user to gain root access

*as of 1 February 2021; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

BleepingComputer · Sergiu Gatlan · [1 February 2021](/2021/02/01) · [Read original](https://www.bleepingcomputer.com/news/security/new-linux-sudo-flaw-lets-local-users-gain-root-privileges/)

[Sergiu Gatlan](/entity/sergiu-gatlan) / BleepingComputer :

**Context**

[Linux](/entity/linux) coverage had already shown that a [separate Sudo flaw](/946822) could bypass restrictions on running commands as root, while earlier reporting documented a [long-lived Linux kernel privilege-escalation bug](/876487). The newly fixed Sudo issue adds another widely deployed local privilege boundary whose age outlasted normal upgrade cycles.

*First-order effects*

- Linux systems running affected Sudo versions need the released fix because any local user could otherwise elevate to root, bypassing the distinction between ordinary and administrative accounts.

*Second-order effects*

- Linux distributors and system administrators must treat Sudo updates as security maintenance rather than a routine utility refresh, since the vulnerable component sits on the path to administrative control.

*Third-order effects*

- The recurrence of decade-old flaws in Sudo, the kernel, and later Polkit points to a durable maintenance challenge: local privilege boundaries require sustained auditing across core Linux components, not only incident-by-incident patching.

**The trend:** Linux security is increasingly defined by the long-tail discovery and remediation of embedded local privilege-escalation flaws in foundational system components.

Related: [Linux](/entity/linux) · [Earlier Sudo privilege flaw](/946822) · [Linux kernel privilege-escalation bug](/876487) · [Polkit local privilege-escalation flaw](/1158536)

**Entities**

- [Linux](/entity/linux)
- [Sergiu Gatlan](/entity/sergiu-gatlan)

**Related coverage**

- [Buffer overflow in command line unescaping](https://www.sudo.ws/alerts/unescape_overflow.html) · sudo.ws
- [10-year-old Sudo bug lets Linux users gain root-level access](https://www.zdnet.com/article/10-years-old-sudo-bug-lets-linux-users-gain-root-level-access/) · ZDNet
- [Heap-based buffer overflow in Linux Sudo allows local users to gain root privileges](https://securityaffairs.co/wordpress/113900/hacking/sudo-vulnerability-cve-2021-3156.html) · Security Affairs
- [Sudo vulnerability allows attackers to gain root privileges on Linux systems (CVE-2021-3156)](https://www.helpnetsecurity.com/2021/01/27/cve-2021-3156/) · Help Net Security
- [Serious Sudo Trouble for Linux Distros](https://thenewstack.io/serious-sudo-trouble-for-linux-distros/) · The New Stack
- [Sudo vulnerability could give attackers root access on Linux systems](https://betanews.com/2021/01/27/sudo-baron-samedit-vulnerability-linux/) · BetaNews
- [PSA: If your PC runs Linux, you should update Sudo now](https://www.xda-developers.com/linux-update-sudo-security-flaw/) · XDA Developers
- [Critical Vulnerability Patched in ‘sudo’ Utility for Unix-Like OSes](https://www.darkreading.com/application-security/critical-vulnerability-patched-in-sudo-utility-for-unix-like-oses/d/d-id/1339996) · Dark Reading
- [Linux Sudo Bug “Baron Semedit” Fixed: Here's How To Update Your System](https://fossbytes.com/linux-sudo-bug-baron-semedit-fixed-how-to-update-system/) · Fossbytes
- [Buffer Overflow Bug Found in SUDO Dubbed ‘Baron Samedit’](https://www.macobserver.com/link/baron-samedit-buffer-overflow/) · The Mac Observer

**Relationships**

- [Sudo](/search?q=%40%22Sudo%22) controversy [Linux](/entity/linux) · confirmed · A now-fixed 10-year-old privilege-escalation bug in Sudo affecting several Linux versions allowed local users to gain root access.

**Similar stories**

- [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](https://texxr.com/946822/sudo-flaw-allows-root-commands-patch-released) · The Hacker News, 15 October 2019 · [publisher](<https://thehackernews.com/2019/10/linux-sudo-run-as-root-flaw.html>) · 69%
- [A researcher has discovered that the recently disclosed Sudo vulnerability, which can be exploited to grant root access to any local user, also impacts macOS](https://texxr.com/962781/sudo-vulnerability-impacts-macos-grants-root) · ZDNet, 3 February 2021 · [publisher](<https://www.zdnet.com/article/recent-root-giving-sudo-bug-also-impacts-macos/>) · 68%
- [Researchers find a 12-year-old vulnerability in Polkit that local attackers can use to gain root privileges on all major Linux distributions; an exploit is out](https://texxr.com/1158536/polkit-12-year-vulnerability-allows-local-root-access) · BleepingComputer, 27 January 2022 · [publisher](<https://www.bleepingcomputer.com/news/security/linux-system-service-bug-gives-you-root-on-every-major-distro/>) · 65%
- [Researchers find serious nine-year old privilege-escalation bug in Linux kernel, official patch released this week](https://texxr.com/876487/nine-year-linux-privilege-bug-gets-patch) · Ars Technica, 23 October 2016 · [publisher](<http://arstechnica.com/security/2016/10/most-serious-linux-privilege-escalation-bug-ever-is-under-active-exploit/>) · 65%
- [Researchers disclose an almost three year old privilege escalation bug in the Linux kernel that imperils millions of PCs, servers, and Android phones](https://texxr.com/863576/researchers-disclose-linux-privilege-escalation-bug) · Ars Technica, 20 January 2016 · [publisher](<http://arstechnica.com/security/2016/01/linux-bug-imperils-tens-of-millions-of-pcs-servers-and-android-phones/>) · 61%
- [Researchers detail CopyFail, a now-patched Linux vulnerability that lets unprivileged users gain admin access, as many distributions have yet to apply the fixes](https://texxr.com/1168099/linux-copyfail-vulnerability-allows-root-access) · Ars Technica, 1 May 2026 · [publisher](<https://arstechnica.com/security/2026/04/as-the-most-severe-linux-threat-in-years-surfaces-the-world-scrambles/>) · 58%
- [Dell patches a recently discovered 12-year-old driver vulnerability impacting hundreds of millions of Dell systems, which gives local attackers full PC control](https://texxr.com/966000/dell-patches-12-year-driver-remote-exploit) · The Record, 5 May 2021 · [publisher](<https://therecord.media/dell-patches-12-year-old-driver-vulnerability-impacting-millions-of-pcs/>) · 57%
- [FreeBSD bug gives untrusted root access](https://texxr.com/1186465/freebsd-bug-grants-root-access) · The Register, 1 December 2009 · [publisher](<http://www.theregister.co.uk/2009/12/01/freebsd_root_bug/>) · 56%
- [Researchers discover a bug, exploited since 2018, in Windows Smart App Control and SmartScreen that lets attackers avoid security warnings for unsigned binaries](https://texxr.com/872461/researchers-discover-windows-smartscreen-bypass-exploit) · BleepingComputer, 6 August 2024 · [publisher](<https://www.bleepingcomputer.com/news/microsoft/windows-smart-app-control-smartscreen-bypass-exploited-since-2018/>) · 56%
- [Researchers detail two new local privilege escalation vulnerabilities, one in recent builds of Windows 10 and the preview of Windows 11, and the other in Linux](https://texxr.com/968696/researchers-discover-local-privilege-escalation-flaws) · Ars Technica, 21 July 2021 · [publisher](<https://arstechnica.com/gadgets/2021/07/separate-eop-flaws-let-hackers-gain-full-control-of-windows-and-linux-systems/>) · 54%
- [Bug exposes eight years of Linux kernel](https://texxr.com/1242335/bug-exposes-eight-years-of-linux-kernel) · The Register, 14 August 2009 · [publisher](<http://www.theregister.co.uk/2009/08/14/critical_linux_bug/>) · 54%
- [TCP Flaw in Linux Servers Allows Web Traffic Hijacking](https://texxr.com/872956/tcp-flaw-allows-web-traffic-hijacking-on-linux) · Softpedia News, 12 August 2016 · [publisher](<http://news.softpedia.com/news/tcp-flaw-in-linux-servers-allows-web-traffic-hijacking-507182.shtml>) · 54%
- [Microsoft fixes a zero-day escalation of privilege bug in Windows after Kaspersky Lab researchers noticed multiple cyber-espionage groups exploiting it](https://texxr.com/935594/microsoft-patches-windows-zero-day-exploit) · ZDNet, 14 November 2018 · [publisher](<http://www.zdnet.com/article/microsoft-patches-windows-zero-day-used-by-multiple-cyber-espionage-groups/>) · 53%
- [Microsoft patches a 12-year-old Windows Defender bug that could potentially let an attacker run malicious code, after researchers discovered it last fall](https://texxr.com/963110/microsoft-patches-12-year-windows-defender-bug) · Wired, 12 February 2021 · [publisher](<https://www.wired.com/story/windows-defender-vulnerability-twelve-years>) · 53%
- [A bug in Razer's Synapse software, which Windows fetches and installs when a Razer accessory is plugged in, lets anyone with a Razer mouse gain admin privileges](https://texxr.com/969967/razer-synapse-bug-lets-users-gain-admin) · BleepingComputer, 24 August 2021 · [publisher](<https://www.bleepingcomputer.com/news/security/razer-bug-lets-you-become-a-windows-10-admin-by-plugging-in-a-mouse/>) · 53%
- [Microsoft issues patch for 15 year old Windows flaw dubbed Jasbug that could allow remote code execution; Windows Server 2003 unpatched](https://texxr.com/826371/microsoft-patches-15-year-jasbug-remote-code-flaw) · Ars Technica, 12 February 2015 · [publisher](<http://arstechnica.com/security/2015/02/15-year-old-bug-allows-malicious-code-execution-in-all-versions-of-windows/>) · 52%
- [Report: Vulnerability in firmware of Macs from mid-2014 and earlier allows hackers to install rootkit malware, does not require physical access to exploit](https://texxr.com/829769/mac-firmware-vulnerability-enables-remote-rootkits) · Ars Technica, 2 June 2015 · [publisher](<http://arstechnica.com/security/2015/06/new-remote-exploit-leaves-most-macs-vulnerable-to-permanent-backdooring/>) · 52%
- [Researchers discover four major vulnerabilities in Dell SupportAssist's BIOSConnect feature, letting hackers remotely execute code, affecting 129 Dell models](https://texxr.com/967824/dell-supportassist-vulnerabilities-allow-remote-code-execution) · BleepingComputer, 25 June 2021 · [publisher](<https://www.bleepingcomputer.com/news/security/dell-supportassist-bugs-put-over-30-million-pcs-at-risk/>) · 52%
- [“Stack Clash” memory management flaw found in Linux, BSD, Solaris, allows privilege escalation to root; patches are available](https://texxr.com/919944/stack-clash-flaw-allows-privilege-escalation) · The New Stack, 21 June 2017 · [publisher](<http://thenewstack.io/linux-bsd-solaris-servers-risk-compromise-stack-clash-flaw/>) · 52%
- [Fortinet confirms a critical remote authentication bypass vulnerability in FortiOS, FortiProxy, and FortiSwitchManager is being exploited; a patch is available](https://texxr.com/983715/fortinet-confirms-critical-auth-bypass-exploited) · BleepingComputer, 11 October 2022 · [publisher](<https://www.bleepingcomputer.com/news/security/fortinet-says-critical-auth-bypass-bug-is-exploited-in-attacks/>) · 52%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 1 February 2021; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
