Improper Input Validation Affecting sudo package, versions [,1.8.21)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.06% (30th 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-2368608
  • published26 Jan 2022
  • disclosed5 Jun 2017
  • creditUnknown

Introduced: 5 Jun 2017

CVE-2017-1000368  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade sudo to version 1.8.21 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname() function resulting in information disclosure and command execution.

References

CVSS Scores

version 3.1