Lucene search

K

Sudo Security Vulnerabilities

cve
cve

CVE-1999-1496

Sudo 1.5 in Debian Linux 2.1 and Red Hat 6.0 allows local users to determine the existence of arbitrary files by attempting to execute the target filename as a program, which generates a different error message when the file does not exist.

7AI Score

0.0004EPSS

2001-09-12 04:00 AM
21
cve
cve

CVE-2002-0043

sudo 1.6.0 through 1.6.3p7 does not properly clear the environment before calling the mail program, which could allow local users to gain root privileges by modifying environment variables and changing how the mail program is invoked.

6.5AI Score

0.0004EPSS

2002-06-25 04:00 AM
31
cve
cve

CVE-2002-0184

Sudo before 1.6.6 contains an off-by-one error that can result in a heap-based buffer overflow that may allow local users to gain root privileges via special characters in the -p (prompt) argument, which are not properly expanded.

7.8CVSS

7.9AI Score

0.001EPSS

2003-04-02 05:00 AM
35
cve
cve

CVE-2004-1051

sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have the same name as any program within the bash script that is called without using the program's full pathname.

6.8AI Score

0.001EPSS

2005-03-01 05:00 AM
35
cve
cve

CVE-2004-1689

sudoedit (aka sudo -e) in sudo 1.6.8 opens a temporary file with root privileges, which allows local users to read arbitrary files via a symlink attack on the temporary file before quitting sudoedit.

6.3AI Score

0.0004EPSS

2005-02-20 05:00 AM
27
cve
cve

CVE-2005-1119

Sudo VISudo 1.6.8 and earlier allows local users to corrupt arbitrary files via a symlink attack on temporary files.

6.4AI Score

0.0004EPSS

2022-10-03 04:22 PM
26
cve
cve

CVE-2005-1831

Sudo 1.6.8p7 on SuSE Linux 9.3, and possibly other Linux distributions, allows local users to gain privileges by using sudo to call su, then entering a blank password and hitting CTRL-C. NOTE: SuSE and multiple third-party researchers have not been able to replicate this issue, stating "Sudo catche...

6.8AI Score

0.0004EPSS

2005-06-02 04:00 AM
31
cve
cve

CVE-2005-1993

Race condition in sudo 1.3.1 up to 1.6.8p8, when the ALL pseudo-command is used after a user entry in the sudoers file, allows local users to gain privileges via a symlink attack.

8.8AI Score

0.001EPSS

2005-06-20 04:00 AM
43
cve
cve

CVE-2005-2959

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

7.9AI Score

0.0004EPSS

2005-10-25 04:02 PM
36
cve
cve

CVE-2005-4158

Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library files that are incl...

6.5AI Score

0.0004EPSS

2005-12-11 02:03 AM
36
cve
cve

CVE-2005-4890

There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.

7.8CVSS

7.5AI Score

0.001EPSS

2019-11-04 07:15 PM
48
cve
cve

CVE-2006-0151

sudo 1.6.8 and other versions does not clear the PYTHONINSPECT environment variable, which allows limited local users to gain privileges via a Python script, a variant of CVE-2005-4158.

6.1AI Score

0.001EPSS

2006-01-09 11:03 PM
40
4
cve
cve

CVE-2007-3149

sudo, when linked with MIT Kerberos 5 (krb5), does not properly check whether a user can currently authenticate to Kerberos, which allows local users to gain privileges, in a manner unintended by the sudo security model, via certain KRB5_ environment variable settings. NOTE: another researcher disp...

6.4AI Score

0.0004EPSS

2007-06-11 06:30 PM
25
cve
cve

CVE-2007-4305

Multiple race conditions in the (1) Sudo monitor mode and (2) Sysjail policies in Systrace on NetBSD and OpenBSD allow local users to defeat system call interposition, and consequently bypass access control policy and auditing.

6.4AI Score

0.0004EPSS

2007-08-13 09:17 PM
25
cve
cve

CVE-2009-0034

parse.c in sudo 1.6.9p17 through 1.6.9p19 does not properly interpret a system group (aka %group) in the sudoers file during authorization decisions for a user who belongs to that group, which allows local users to leverage an applicable sudoers file and gain root privileges via a sudo command.

7.8CVSS

7.3AI Score

0.001EPSS

2009-01-30 07:30 PM
70
cve
cve

CVE-2010-0426

sudo 1.6.x before 1.6.9p21 and 1.7.x before 1.7.2p4, when a pseudo-command is enabled, permits a match between the name of the pseudo-command and the name of an executable file in an arbitrary directory, which allows local users to gain privileges via a crafted executable file, as demonstrated by a...

7.6AI Score

0.0004EPSS

2010-02-24 06:30 PM
54
cve
cve

CVE-2010-0427

sudo 1.6.x before 1.6.9p21, when the runas_default option is used, does not properly set group memberships, which allows local users to gain privileges via a sudo command.

7.3AI Score

0.0004EPSS

2010-02-25 07:30 PM
52
cve
cve

CVE-2010-1163

The command matching functionality in sudo 1.6.8 through 1.7.2p5 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 ".", which allows local users to execute arbitrary commands via a Troja...

8.1AI Score

0.0004EPSS

2010-04-16 07:30 PM
44
cve
cve

CVE-2010-1646

The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.

6.1AI Score

0.0004EPSS

2010-06-07 05:12 PM
44
cve
cve

CVE-2010-2956

Sudo 1.7.0 through 1.7.4p3, when a Runas group is configured, does not properly handle use of the -u option in conjunction with the -g option, which allows local users to gain privileges via a command line containing a "-u root" sequence.

8.5AI Score

0.0004EPSS

2010-09-10 07:00 PM
33
cve
cve

CVE-2011-0008

A certain Fedora patch for parse.c in sudo before 1.7.4p5-1.fc14 on Fedora 14 does not properly interpret a system group (aka %group) in the sudoers file during authorization decisions for a user who belongs to that group, which allows local users to leverage an applicable sudoers file and gain roo...

7.3AI Score

0.001EPSS

2011-01-20 07:00 PM
47
cve
cve

CVE-2011-0010

check.c in sudo 1.7.x before 1.7.4p5, when a Runas group is configured, does not require a password for command execution that involves a gid change but no uid change, which allows local users to bypass an intended authentication requirement via the -g option to a sudo command.

7.5AI Score

0.0005EPSS

2011-01-18 06:03 PM
48
cve
cve

CVE-2012-0809

Format string vulnerability in the sudo_debug function in Sudo 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code via format string sequences in the program name for sudo.

7.6AI Score

0.001EPSS

2012-02-01 12:55 AM
68
cve
cve

CVE-2012-2337

sudo 1.6.x and 1.7.x before 1.7.9p1, and 1.8.x before 1.8.4p5, does not properly support configurations that use a netmask syntax, which allows local users to bypass intended command restrictions in opportunistic circumstances by executing a command on a host that has an IPv4 address.

7.3AI Score

0.0004EPSS

2012-05-18 06:55 PM
63
4
cve
cve

CVE-2012-3440

A certain Red Hat script for sudo 1.7.2 on Red Hat Enterprise Linux (RHEL) 5 allows local users to overwrite arbitrary files via a symlink attack on the /var/tmp/nsswitch.conf.bak temporary file.

6.1AI Score

0.0004EPSS

2012-08-08 10:26 AM
37
cve
cve

CVE-2013-1775

sudo 1.6.0 through 1.7.10p6 and sudo 1.8.0 through 1.8.6p6 allows local users or physically proximate attackers to bypass intended time restrictions and retain privileges without re-authenticating by setting the system clock and sudo user timestamp to the epoch.

8.1AI Score

0.0004EPSS

2013-03-05 09:38 PM
86
cve
cve

CVE-2013-1776

sudo 1.3.5 through 1.7.10 and 1.8.0 through 1.8.5, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting to the standard inp...

8.1AI Score

0.0004EPSS

2013-04-08 05:55 PM
47
cve
cve

CVE-2013-2776

sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another ...

8.1AI Score

0.0004EPSS

2013-04-08 05:55 PM
45
cve
cve

CVE-2013-2777

sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to a session without a controlling te...

8.1AI Score

0.0004EPSS

2013-04-08 05:55 PM
33
cve
cve

CVE-2014-0106

Sudo 1.6.9 before 1.8.5, when env_reset is disabled, does not properly check environment variables for the env_delete restriction, which allows local users with sudo permissions to bypass intended command restrictions via a crafted environment variable.

3.8AI Score

0.0004EPSS

2014-03-11 07:37 PM
44
cve
cve

CVE-2014-9680

sudo before 1.8.12 does not ensure that the TZ environment variable is associated with a zoneinfo file, which allows local users to open arbitrary files for read access (but not view file contents) by running a program within an sudo session, as demonstrated by interfering with terminal output, dis...

3.3CVSS

3.8AI Score

0.0004EPSS

2017-04-24 06:59 AM
94
cve
cve

CVE-2015-5602

sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by "/home// /file.txt."

7.3AI Score

0.001EPSS

2015-11-17 03:59 PM
74
2
cve
cve

CVE-2015-8239

The SHA-2 digest support in the sudoers plugin in sudo after 1.8.7 allows local users with write permissions to parts of the called command to replace them before it is executed.

7CVSS

6.6AI Score

0.0004EPSS

2017-10-10 04:29 PM
23
cve
cve

CVE-2016-7032

sudo_noexec.so in Sudo before 1.8.15 on Linux might allow local users to bypass intended noexec command restrictions via an application that calls the (1) system or (2) popen function.

7CVSS

7AI Score

0.0004EPSS

2017-04-14 06:59 PM
187
cve
cve

CVE-2016-7076

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to exec...

7.8CVSS

7.8AI Score

0.0004EPSS

2018-05-29 01:29 PM
201
cve
cve

CVE-2017-1000367

Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function resulting in information disclosure and command execution.

6.4CVSS

6.8AI Score

0.002EPSS

2017-06-05 02:29 PM
191
cve
cve

CVE-2017-1000368

Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname() function resulting in information disclosure and command execution.

8.2CVSS

7.6AI Score

0.001EPSS

2017-06-05 04:29 PM
217
cve
cve

CVE-2019-14287

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo...

8.8CVSS

8.7AI Score

0.283EPSS

2019-10-17 06:15 PM
544
48
cve
cve

CVE-2019-18634

In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist onl...

7.8CVSS

7.9AI Score

0.002EPSS

2020-01-29 06:15 PM
353
50
cve
cve

CVE-2019-18684

Sudo through 1.8.29 allows local users to escalate to root if they have write access to file descriptor 3 of the sudo process. This occurs because of a race condition between determining a uid, and the setresuid and openat system calls. The attacker can write "ALL ALL=(ALL) NOPASSWD:ALL" to /proc/#...

7CVSS

6.8AI Score

0.0004EPSS

2019-11-04 04:15 PM
28
cve
cve

CVE-2019-19232

In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user. NOTE: The software maintainer believes that this is not a vulnerability because running a command via sudo as a ...

7.5CVSS

7.4AI Score

0.008EPSS

2019-12-19 09:15 PM
149
cve
cve

CVE-2019-19234

In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user. NOTE: The software maintainer believes...

7.5CVSS

7.3AI Score

0.008EPSS

2019-12-19 09:15 PM
127
cve
cve

CVE-2021-23239

The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.

2.5CVSS

5.5AI Score

0.001EPSS

2021-01-12 09:15 AM
274
13
cve
cve

CVE-2021-23240

selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not ...

7.8CVSS

7.8AI Score

0.001EPSS

2021-01-12 09:15 AM
232
16
cve
cve

CVE-2021-3156

Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.

7.8CVSS

8.3AI Score

0.97EPSS

2021-01-26 09:15 PM
3955
In Wild
826
cve
cve

CVE-2022-43995

Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. ...

7.1CVSS

7AI Score

0.0004EPSS

2022-11-02 02:15 PM
102
5
cve
cve

CVE-2023-22809

In Sudo before 1.9.12p2, 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. This can lead to privilege escalation. Affect...

7.8CVSS

7.7AI Score

0.001EPSS

2023-01-18 05:15 PM
956
cve
cve

CVE-2023-27320

Sudo before 1.9.13p2 has a double free in the per-command chroot feature.

7.2CVSS

6.9AI Score

0.002EPSS

2023-02-28 06:15 PM
90
cve
cve

CVE-2023-28486

Sudo before 1.9.13 does not escape control characters in log messages.

5.3CVSS

5.4AI Score

0.001EPSS

2023-03-16 01:15 AM
72
cve
cve

CVE-2023-28487

Sudo before 1.9.13 does not escape control characters in sudoreplay output.

5.3CVSS

5.4AI Score

0.001EPSS

2023-03-16 01:15 AM
73
Total number of security vulnerabilities53