USN-3304-1: Sudo vulnerability

Publication date

30 May 2017

Overview

Sudo could be made to overwrite files as the administrator.


Packages

  • sudo - Provide limited super user privileges to specific users

Details

It was discovered that Sudo did not properly parse the contents of
/proc/[pid]/stat when attempting to determine its controlling tty.
A local attacker in some configurations could possibly use this to
overwrite any file on the filesystem, bypassing intended permissions.

It was discovered that Sudo did not properly parse the contents of
/proc/[pid]/stat when attempting to determine its controlling tty.
A local attacker in some configurations could possibly use this to
overwrite any file on the filesystem, bypassing intended permissions.

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
17.04 zesty sudo –  1.8.19p1-1ubuntu1.1
sudo-ldap –  1.8.19p1-1ubuntu1.1
16.10 yakkety sudo –  1.8.16-0ubuntu3.2
sudo-ldap –  1.8.16-0ubuntu3.2
16.04 xenial sudo –  1.8.16-0ubuntu1.4
sudo-ldap –  1.8.16-0ubuntu1.4
14.04 trusty sudo –  1.8.9p5-1ubuntu1.4
sudo-ldap –  1.8.9p5-1ubuntu1.4

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 ›