Out-of-bounds Write Affecting sudo package, versions [,1.6.6)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.18% (56th 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-2368620
  • published26 Jan 2022
  • disclosed16 May 2002
  • creditUnknown

Introduced: 16 May 2002

CVE-2002-0184  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade sudo to version 1.6.6 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References

CVSS Scores

version 3.1