← Back to Blog
Security Research2021

CVE-2021-3156: Sudo Vulnerability Allows Root Privileges

By Assaf Morag

Critical vulnerability in sudo (CVE-2021-3156) allows unprivileged users to gain root access on Linux systems. This vulnerability, also known as Baron Samedit, affects sudo versions before 1.9.5p2 and can be exploited locally without authentication.

The vulnerability poses significant risks to Linux systems and containerized environments, as it allows attackers to escalate privileges from any user account to root, bypassing security controls.

Impact

  • Local privilege escalation to root without authentication
  • Affects default sudo configurations on most Linux distributions
  • Critical risk to containerized environments
  • Requires immediate patching of affected systems