Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. samba-client
  4. ›
  5. CVE-2021-27185

CVE-2021-27185: Injection Vulnerability

February 10, 2021 (updated April 29, 2022)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2021-27185

Code Behaviors & Features

Detect and mitigate CVE-2021-27185 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.0

Fixed versions

  • 4.0.0

Solution

Upgrade to version 4.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/samba-client/CVE-2021-27185.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:43 +0000.