{"id":"CVE-2021-27185","aliases":["EUVD-2021-0570","GHSA-r3j7-x2g5-9gx6"],"status":"published","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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.0489,"percentile":0.922,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-77","CWE-78"],"published":"2021-02-10T21:04:28Z","modified":"2026-10-20T10:54:35Z","fixes":[{"ecosystem":"npm","package":"samba-client","fixed_in":["4.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"samba-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"samba-client","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}]}],"products":[{"vendor":"samba-client_project","product":"samba-client"}],"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/advisories/GHSA-r3j7-x2g5-9gx6"},{"url":"https://github.com/eflexsystems/node-samba-client","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20210319-0002","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-27185","description":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","status":"published","published":"2021-02-10T21:04:28Z","modified":"2024-08-03T20:40:47.497Z","updated_at":"2026-11-02T14:33:04.679189Z"}],"euvd":[{"id":"EUVD-2021-0570","description":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","status":"published","published":"2021-02-10T21:04:28Z","modified":"2024-08-03T20:40:47Z","updated_at":"2026-11-03T03:24:50.383074Z"}],"ghsa":[{"id":"GHSA-r3j7-x2g5-9gx6","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.","status":"published","published":"2021-02-11T20:47:27Z","modified":"2023-02-01T05:05:06Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-74","CWE-77","CWE-78"],"updated_at":"2026-11-02T14:36:32.918681Z"}],"nvd":[{"id":"CVE-2021-27185","description":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","status":"published","published":"2021-02-10T22:15:13.813Z","modified":"2026-06-17T03:44:25.553Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:06:50.031227Z"}],"osv":[{"id":"CVE-2021-27185","description":"The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.","status":"published","published":"2021-02-10T22:15:13.813Z","modified":"2026-10-20T10:54:35.365612575Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-r3j7-x2g5-9gx6","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.","status":"published","published":"2021-02-11T20:47:27Z","modified":"2023-11-08T04:05:23.693547Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-74","CWE-77","CWE-78"],"updated_at":"2026-11-02T15:46:55.122811Z"}]}}
