- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202101-33
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: sudo: Multiple vulnerabilities
     Date: January 26, 2021
     Bugs: #764986, #767364
       ID: 202101-33

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple vulnerabilities have been found in sudo, the worst of which
could result in privilege escalation.

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
    -------------------------------------------------------------------
  1  app-admin/sudo              < 1.9.5_p2               >= 1.9.5_p2

Description
===========

Multiple vulnerabilities have been discovered in sudo. Please review
the CVE identifiers referenced below for details.

Impact
======

Local users are able to gain unauthorized privileges on the system or
determine the existence of files.

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.9.5_p2"

References
==========

[ 1 ] CVE-2021-23239
      https://nvd.nist.gov/vuln/detail/CVE-2021-23239
[ 2 ] CVE-2021-23240
      https://nvd.nist.gov/vuln/detail/CVE-2021-23240
[ 3 ] CVE-2021-3156
      https://nvd.nist.gov/vuln/detail/CVE-2021-3156
[ 4 ] Upstream advisory (CVE-2020-23240)
      https://www.sudo.ws/alerts/sudoedit_selinux.html
[ 5 ] Upstream advisory (CVE-2021-3156)
      https://www.sudo.ws/alerts/unescape_overflow.html

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202101-33

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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 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.

https://creativecommons.org/licenses/by-sa/2.5