Improper Input Validation Affecting shadow-maint/shadow package, versions [0,]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (25th 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-5425136
  • published17 Apr 2023
  • disclosed15 Apr 2023
  • creditUnknown

Introduced: 15 Apr 2023

CVE-2023-29383  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Input Validation which makes it possible to inject control characters into fields provided to the SUID program chfn (change finger). Although it is impossible to exploit this directly (e.g., adding a new user fails because \n is in the block list), it is possible to misrepresent the /etc/passwd file when viewed. Use of \r manipulations and Unicode characters to work around blocking of the : character make it possible to give the impression that a new user has been added.

CVSS Scores

version 3.1