Arbitrary Command Injection Affecting sudo package, versions [1.6.8,1.8.19)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SUDO-2368603
  • published26 Jan 2022
  • disclosed29 May 2018
  • creditUnknown

Introduced: 29 May 2018

CVE-2016-7076  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade sudo to version 1.8.19 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection 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 execute arbitrary commands with elevated privileges.

CVSS Scores

version 3.1