{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-27185","id":"CVE-2021-27185","title":"Command injection in samba-client","description":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","descriptionLong":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","published":"2021-02-10T21:04:28.000Z","updated":"2026-10-20T10:54:35.365612575Z","reserved":"2021-02-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"samba-client","purl":"pkg:npm/samba-client","ranges":["<4.0.0"],"fixed":["4.0.0"],"advisory":"GHSA-r3j7-x2g5-9gx6"}],"cwes":["CWE-77","CWE-74","CWE-78"],"aliases":["GHSA-r3j7-x2g5-9gx6"],"references":[{"url":"https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.npmjs.com/package/samba-client","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0002/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4302","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27185","tags":["advisory"]},{"url":"https://github.com/eflexsystems/node-samba-client","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0002","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0489,"epssPercentile":0.92261,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-27185","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27185","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-27185","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r3j7-x2g5-9gx6","ok":true,"note":"GHSA-r3j7-x2g5-9gx6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-27185","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}