USN-4705-1: Sudo vulnerabilities

Publication date

26 January 2021

Overview

Several security issues were fixed in Sudo.


Packages

  • sudo - Provide limited super user privileges to specific users

Details

It was discovered that Sudo incorrectly handled memory when parsing command
lines. A local attacker could possibly use this issue to obtain unintended
access to the administrator account. (CVE-2021-3156)

It was discovered that the Sudo sudoedit utility incorrectly handled
checking directory permissions. A local attacker could possibly use this
issue to bypass file permissions and determine if a directory exists or
not. (CVE-2021-23239)

It was discovered that Sudo incorrectly handled memory when parsing command
lines. A local attacker could possibly use this issue to obtain unintended
access to the administrator account. (CVE-2021-3156)

It was discovered that the Sudo sudoedit utility incorrectly handled
checking directory permissions. A local attacker could possibly use this
issue to bypass file permissions and determine if a directory exists or
not. (CVE-2021-23239)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.10 groovy sudo –  1.9.1-1ubuntu1.1
sudo-ldap –  1.9.1-1ubuntu1.1
20.04 focal sudo –  1.8.31-1ubuntu1.2
sudo-ldap –  1.8.31-1ubuntu1.2
18.04 bionic sudo –  1.8.21p2-3ubuntu1.4
sudo-ldap –  1.8.21p2-3ubuntu1.4
16.04 xenial sudo –  1.8.16-0ubuntu1.10
sudo-ldap –  1.8.16-0ubuntu1.10

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›