Access Restriction Bypass Affecting sudo package, versions [,1.7.10p5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (13th 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 IDSNYK-UNMANAGED-SUDO-2368597
  • published26 Jan 2022
  • disclosed8 Apr 2013
  • creditUnknown

Introduced: 8 Apr 2013

CVE-2013-2777  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade sudo to version 1.7.10p5 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass 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 terminal device and connecting to the standard input, output, and error file descriptors of another terminal. NOTE: this is one of three closely-related vulnerabilities that were originally assigned CVE-2013-1776, but they have been SPLIT because of different affected versions.

References

CVSS Scores

version 3.1