GitHub Advisoryadvisory · npm

GHSA-r3j7-x2g5-9gx6 Command injection in samba-client

CRITICAL Published 2021-02-11 Modified 2022-05-03 Official page ↗
Aliases
CVE-2021-27185
Ecosystem
npm
Packages
samba-client
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-74, CWE-77, CWE-78
Reviewed
2021-02-11

Affected packages

• npm samba-client: < 4.0.0 → fixed in 4.0.0

Description

The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.

Related

Alias · CVE (1)

  • CVE-2021-27185 The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec. vulnerability

Weakness · CWE (3)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References