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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (20th 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-2368614
  • published26 Jan 2022
  • disclosed18 Jan 2011
  • creditUnknown

Introduced: 18 Jan 2011

CVE-2011-0010  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade sudo to version 1.7.4p5 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass 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.

References

CVSS Scores

version 3.1