Command Injection Affecting samba-client package, versions <4.0.0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.35% (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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SAMBACLIENT-1071899
  • published11 Feb 2021
  • disclosed11 Feb 2021
  • creditFábio Freitas

Introduced: 11 Feb 2021

CVE-2021-27185  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade samba-client to version 4.0.0 or higher.

Overview

samba-client is a Node.js wrapper for smbclient

Affected versions of this package are vulnerable to Command Injection via the use of process.exec.

CVSS Scores

version 3.1