portage-ng / portage / app-admin / sudo / 1.9.17_p2-r1
portage-ng glsa
20 advisories reference app-admin/sudo · none place version 1.9.17_p2-r1 in a vulnerable range
▸ GLSA 202507-01 sudo: Privilege escalation this version unaffected high local and remote 2025-07-01

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

Announced
2025-07-01
Revised
2025-07-01
Access
local and remote
Bugs
#959314
Advisory
https://security.gentoo.org/glsa/202507-01

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.9.17_p1>= 1.9.17_p1

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

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

Impact

An attacker can escalate privileges to root by providing a special argument to sudo's --chroot (which is used for chroot purposes). Please review the referenced CVE identifier for details.

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.17_p1"

References

▸ GLSA 202401-29 sudo: Memory Manipulation this version unaffected high remote 2024-01-24

A vulnerability has been discovered in sudo which can lead to execution manipulation through rowhammer-style memory manipulation.

Announced
2024-01-24
Revised
2024-01-24
Access
remote
Bugs
#920510
Advisory
https://security.gentoo.org/glsa/202401-29

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.9.15_p2>= 1.9.15_p2

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

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

Impact

Stack/register variables can be flipped via fault injection, affecting execution flow in security-sensitive code.

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

References

▸ GLSA 202309-12 sudo: Multiple Vulnerabilities this version unaffected high remote 2023-09-29

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

Announced
2023-09-29
Revised
2023-09-29
Access
remote
Bugs
#898510 #905322
Advisory
https://security.gentoo.org/glsa/202309-12

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.9.13_p2>= 1.9.13_p2

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

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

Impact

Please review the referenced CVE identifiers for details.

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

References

▸ GLSA 202305-12 sudo: Root Privilege Escalation this version unaffected high remote 2023-05-03

A vulnerability has been discovered in sudo which could result in root privilege escalation.

Announced
2023-05-03
Revised
2023-05-03
Access
remote
Bugs
#891335
Advisory
https://security.gentoo.org/glsa/202305-12

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.9.12_p2>= 1.9.12_p2

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

The sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process.

Impact

The improper processing of user's environment variables could lead to the editing of arbitrary files as root, potentially leading to root privilege escalation.

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

References

▸ GLSA 202211-08 sudo: Heap-Based Buffer Overread this version unaffected normal remote 2022-11-22

A vulnerability has been discovered in sudo which could result in denial of service.

Announced
2022-11-22
Revised
2022-11-22
Access
remote
Bugs
#879209
Advisory
https://security.gentoo.org/glsa/202211-08

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.9.12-r1>= 1.9.12-r1

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

In certain password input handling, sudo incorrectly assumes the password input is at least nine bytes in size, leading to a heap buffer overread.

Impact

In the worst case, the heap buffer overread can result in the denial of service of the sudo process.

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.12-r1"

References

▸ GLSA 202101-33 sudo: Multiple vulnerabilities this version unaffected high local 2021-01-26

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

Announced
2021-01-26
Revised
2021-01-26
Access
local
Bugs
#764986 #767364
Advisory
https://security.gentoo.org/glsa/202101-33

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.9.5_p2>= 1.9.5_p2

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.

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

▸ GLSA 202003-12 sudo: Multiple vulnerabilities this version unaffected high local 2020-03-14

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

Announced
2020-03-14
Revised
2020-03-14
Access
local
Bugs
#697462 #707574
Advisory
https://security.gentoo.org/glsa/202003-12

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.31>= 1.8.31

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.

Description

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

Impact

A local attacker could expose or corrupt memory information, inject code to be run as a root user or cause a Denial of Service condition.

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.31"

References

▸ GLSA 201710-04 sudo: Privilege escalation this version unaffected high local 2017-10-08

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

Announced
2017-10-08
Revised
2017-10-08
Access
local
Bugs
#620482
Advisory
https://security.gentoo.org/glsa/201710-04

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.20_p2>= 1.8.20_p2

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.

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

▸ GLSA 201705-15 sudo: Privilege escalation this version unaffected high local 2017-05-30

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

Announced
2017-05-30
Revised
2017-10-10 (revision 4)
Access
local
Bugs
#620182
Advisory
https://security.gentoo.org/glsa/201705-15

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.20_p1>= 1.8.20_p1

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.

Description

Qualys discovered a vulnerability in sudo’s get_process_ttyname() for Linux, that via sudo_ttyname_scan() can be directed to use a user-controlled, arbitrary tty device during its traversal of “/dev” by utilizing the world-writable /dev/shm.

For further information, please see the Qualys Security Advisory

Impact

A local attacker can pretend that his tty is any character device on the filesystem, and after two race conditions, an attacker can pretend that the controlled tty is any file on the filesystem allowing for privilege escalation

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_p1"

References

▸ GLSA 201606-13 sudo: Unauthorized privilege escalation in sudoedit this version unaffected normal local 2016-06-26

sudo is vulnerable to an escalation of privileges via a symlink attack.

Announced
2016-06-26
Revised
2017-04-17 (revision 2)
Access
local
Bugs
#564774
Advisory
https://security.gentoo.org/glsa/201606-13

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.15-r1>= 1.8.15-r1

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.

Description

sudoedit in sudo is vulnerable to the escalation of privileges by local users via a symlink attack. This can be exploited by a file whose full path is defined using multiple wildcards in “/etc/sudoers”, as demonstrated by “/home/*/*/file.txt”.

Impact

Local users are able to gain unauthorized privileges on the system.

Workaround

There is no known work around at this time.

Resolution

All sudo users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.8.15-r1"

References

▸ GLSA 201504-02 sudo: Information disclosure this version unaffected normal local 2015-04-11

A vulnerability in sudo could allow a local attacker to read arbitrary files or bypass security restrictions.

Announced
2015-04-11
Revised
2015-04-11
Access
local
Bugs
#539532
Advisory
https://security.gentoo.org/glsa/201504-02

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.12>= 1.8.12

Background

sudo allows a system administrator to give users the ability to run commands as other users. Access to commands may also be granted on a range to hosts.

Description

sudo does not handle the TZ environment variable properly.

Impact

A local attacker may be able to read arbitrary files or information from device special 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.8.12"

References

▸ GLSA 201406-30 sudo: Privilege escalation this version unaffected high local 2014-06-27

A vulnerability has been found in sudo allowing a local attacker to gain elevated privileges.

Announced
2014-06-27
Revised
2014-06-27
Access
local
Bugs
#503586
Advisory
https://security.gentoo.org/glsa/201406-30

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.5>= 1.8.5, < 1.6.9

Background

sudo allows a system administrator to give users the ability to run commands as other users. Access to commands may also be granted on a range to hosts.

Description

When the Sudo env_reset option is disabled (it is enabled by default), certain environment variables are not blacklisted as expected.

Impact

A local attacker, authorized to run commands using sudo, can use this flaw to execute arbitrary code or escalate his 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.5"

References

▸ GLSA 201401-23 sudo: Privilege escalation this version unaffected high local 2014-01-21

Multiple vulnerabilities have been found in sudo which could result in privilege escalation.

Announced
2014-01-21
Revised
2014-01-21
Access
local
Bugs
#459722
Advisory
https://security.gentoo.org/glsa/201401-23

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.6_p7>= 1.8.6_p7

Background

sudo allows a system administrator to give users the ability to run commands as other users. Access to commands may also be granted on a range to hosts.

Description

Multiple vulnerabilities have been found in sudo:

  • sudo does not correctly validate the controlling terminal on a system without /proc or when the tty_tickets option is enabled.
  • sudo does not properly handle the clock when it is set to the epoch.

Impact

A local attacker with sudo privileges could connect to the stdin, stdout, and stderr of the terminal of a user who has authenticated with sudo, allowing the attacker to hijack the authorization of the other user. Additionally, a local or physically proximate attacker could set the system clock to the epoch, bypassing time restrictions on sudo authentication.

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.6_p7"

References

▸ GLSA 201207-01 sudo: Privilege escalation this version unaffected high local 2012-07-09

A vulnerability has been found in sudo which may allow local users to gain escalated privileges.

Announced
2012-07-09
Revised
2012-07-09
Access
local
Bugs
#416281
Advisory
https://security.gentoo.org/glsa/201207-01

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.5_p1>= 1.8.5_p1

Background

sudo allows a system administrator to give users the ability to run commands as other users. Access to commands may also be granted on a range to hosts.

Description

An error in sudo may allow unintended IPv4 hosts to be granted access to commands.

Impact

A local attacker could gain escalated 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.5_p1"

References

▸ GLSA 201203-06 sudo: Privilege escalation this version unaffected high local 2012-03-06

Two vulnerabilities have been discovered in sudo, allowing local attackers to possibly gain escalated privileges.

Announced
2012-03-06
Revised
2012-03-06
Access
local
Bugs
#351490 #401533
Advisory
https://security.gentoo.org/glsa/201203-06

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.8.3_p2>= 1.8.3_p2, >= 1.7.4_p5 (revision)

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

Two vulnerabilities have been discovered in sudo:

  • When the sudoers file is configured with a Runas group, sudo does not prompt for a password when changing to the new group (CVE-2011-0010).
  • A format string vulnerability exists in the "sudo_debug()" function (CVE-2012-0809).

Impact

A local attacker could possibly gain the ability to run arbitrary commands with the privileges of other users or groups, including root.

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

References

▸ GLSA 201009-03 sudo: Privilege Escalation this version unaffected high local 2010-09-07

The secure path feature and group handling in sudo allow local attackers to escalate privileges.

Announced
2010-09-07
Revised
2010-09-07
Access
local
Bugs
#322517 #335381
Advisory
https://security.gentoo.org/glsa/201009-03

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.7.4_p3-r1>= 1.7.4_p3-r1

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

Multiple vulnerabilities have been reported in sudo:

  • Evan Broder and Anders Kaseorg of Ksplice, Inc. reported that the sudo 'secure path' feature does not properly handle multiple PATH variables (CVE-2010-1646).
  • Markus Wuethrich of Swiss Post reported that sudo fails to restrict access when using Runas groups and the group (-g) command line option (CVE-2010-2956).

Impact

A local attacker could exploit these vulnerabilities to gain the ability to run certain commands with the privileges of other users, including root, depending on the configuration.

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.7.4_p3-r1"

References

▸ GLSA 201006-09 sudo: Privilege escalation this version unaffected high local 2010-06-01

A flaw in sudo's -e option may allow local attackers to execute arbitrary commands.

Announced
2010-06-01
Revised
2010-06-01
Access
local
Bugs
#321697
Advisory
https://security.gentoo.org/glsa/201006-09

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.7.2_p6>= 1.7.2_p6

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

The command matching functionality does not properly handle when a file in the current working directory has the same name as a pseudo-command in the sudoers file and the PATH contains an entry for ".".

Impact

A local attacker with the permission to run sudoedit could, under certain circumstances, execute arbitrary commands as whichever user he has permission to run sudoedit as, typically root.

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.7.2_p6"

References

▸ GLSA 201003-01 sudo: Privilege escalation this version unaffected high local 2010-03-03

Two vulnerabilities in sudo might allow local users to escalate privileges and execute arbitrary code with root privileges.

Announced
2010-03-03
Revised
2010-03-03
Access
local
Bugs
#306865
Advisory
https://security.gentoo.org/glsa/201003-01

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.7.2_p4>= 1.7.2_p4

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

Multiple vulnerabilities have been discovered in sudo:

  • Glenn Waller and neonsignal reported that sudo does not properly handle access control of the "sudoedit" pseudo-command (CVE-2010-0426).
  • Harald Koenig reported that sudo does not properly set supplementary groups when using the "runas_default" option (CVE-2010-0427).

Impact

A local attacker with privileges to use "sudoedit" or the privilege to execute commands with the "runas_default" setting enabled could leverage these vulnerabilities to execute arbitrary code with elevated privileges.

Workaround

CVE-2010-0426: Revoke all "sudoedit" privileges, or use the full path to sudoedit. CVE-2010-0427: Remove all occurrences of the "runas_default" setting.

Resolution

All sudo users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.7.2_p4"

References

▸ GLSA 200902-01 sudo: Privilege escalation this version unaffected high local 2009-02-06

A vulnerability in sudo may allow for privilege escalation.

Announced
2009-02-06
Revised
2009-02-06
Access
local
Bugs
#256633
Advisory
https://security.gentoo.org/glsa/200902-01

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.7.0>= 1.7.0

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

Harald Koenig discovered that sudo incorrectly handles group specifications in Runas_Alias (and related) entries when a group is specified in the list (using %group syntax, to allow a user to run commands as any member of that group) and the user is already a member of that group.

Impact

A local attacker could possibly run commands as an arbitrary system user (including root).

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.7.0"

References

▸ GLSA 200506-22 sudo: Arbitrary command execution this version unaffected normal local 2005-06-23

A vulnerability in sudo may allow local users to elevate privileges.

Announced
2005-06-23
Revised
2005-06-23
Access
local
Bugs
#96618
Advisory
https://security.gentoo.org/glsa/200506-22

Affected packages

PackageArchVulnerableUnaffected
app-admin/sudo*< 1.6.8_p9>= 1.6.8_p9

Background

sudo allows a system administrator to give users the ability to run commands as other users.

Description

The sudoers file is used to define the actions sudo users are permitted to perform. Charles Morris discovered that a specific layout of the sudoers file could cause the results of an internal check to be clobbered, leaving sudo vulnerable to a race condition.

Impact

Successful exploitation would permit a local sudo user to execute arbitrary commands as another user.

Workaround

Reorder the sudoers file using the visudo utility to ensure the 'ALL' pseudo-command precedes other command definitions.

Resolution

All sudo users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/sudo-1.6.8_p9"

References