Command Injection Affecting samba-client package, versions <4.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
11.18% (94th 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-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 Base Scores

version 3.1