Out-of-Bounds Affecting shadow-maint/shadow package, versions [,4.5)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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-SHADOWMAINTSHADOW-2365861
  • published26 Jan 2022
  • disclosed4 Aug 2017
  • creditUnknown

Introduced: 4 Aug 2017

CVE-2017-12424  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade shadow-maint/shadow to version 4.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.

References

CVSS Scores

version 3.1