Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-27185

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-27185
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:42 UTC · Revision 1

Source evidence

CVE-2021-27185

core-osv · Original source

Published 10 Feb 2021, 22:15 UTC

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

osv:CVE-2021-27185
Complete source record
{
  "id": "75faf19e5178b9d0e466f17273c9b86fcaf698992354f60a227a0095dbc11d48",
  "url": "https://osv.dev/vulnerability/CVE-2021-27185",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-27185",
    "summary": "The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.",
    "evidence": "osv:CVE-2021-27185",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-27185",
      "aliases": [
        "CVE-2021-27185",
        "GHSA-r3j7-x2g5-9gx6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/eflexsystems/node-samba-client",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5bc3bbad9b8d02243bc861a11ec73f788fbb1235"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:samba-client_project:samba-client:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5bc3bbad9b8d02243bc861a11ec73f788fbb1235"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5bc3bbad9b8d02243bc861a11ec73f788fbb1235"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "4.0.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4.0",
            "3.3.0",
            "3.2.0",
            "3.1.1",
            "3.1.0",
            "2.0.0",
            "1.5.0",
            "1.4.0",
            "1.3.3",
            "1.3.2",
            "1.3.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27185.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:35.365612575Z",
      "provider": "osv",
      "references": [
        "https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0",
        "https://security.netapp.com/advisory/ntap-20210319-0002/",
        "https://www.npmjs.com/package/samba-client",
        "https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235",
        "https://advisory.checkmarx.net/advisory/CX-2021-4302"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-27185",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385677,
  "published_at": "2021-02-10T22:15:13.813+00:00"
}