Improper Input Validation Affecting shadow-maint/shadow package, versions [4.0.0,4.1.5.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-2365865
  • published26 Jan 2022
  • disclosed4 Nov 2019
  • creditUnknown

Introduced: 4 Nov 2019

CVE-2005-4890  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Improper Input Validation. There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.

CVSS Scores

version 3.1