Arbitrary Code Execution Affecting sudo package, versions [,1.6.8]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.12% (48th 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 Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SUDO-2368629
  • published26 Jan 2022
  • disclosed16 Sept 2004
  • creditUnknown

Introduced: 16 Sep 2004

CVE-2004-1689  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for sudo.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution 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.

CVSS Scores

version 3.1