GLSA 201710-04: sudo: Privilege escalation

Severity:high
Title:sudo: Privilege escalation
Date:10/08/2017
Bugs: #620482
ID:201710-04

Synopsis

A vulnerability in sudo allows local users to gain root privileges.

Background

sudo (su “do”) allows a system administrator to delegate authority to give certain users (or groups of users) the ability to run some (or all) commands as root or another user while providing an audit trail of the commands and their arguments.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-admin/sudo < 1.8.20_p2 >= 1.8.20_p2 All supported architectures

Description

The fix present in app-admin/sudo-1.8.20_p1 (GLSA 201705-15) was incomplete as it did not address the problem of a command with a newline in the name.

Impact

A local attacker could execute arbitrary code with root privileges.

Workaround

There is no known workaround at this time.

Resolution

All sudo users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=app-admin/sudo-1.8.20_p2"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201710-04.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!