CVE-2021-27185 json
Command injection in samba-client
published 2021-02-10 5 y ago modified 2026-06-17 4 mo ago also GHSA-r3j7-x2g5-9gx6 , EUVD-2021-0570
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Patch / fix
- npm samba-client 4.0.0
- samba-client_project samba-client 4.0.0
Exploit prediction
4.89% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2021-4302 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | samba-client | <4.0.0 |
4.0.0 |
Classification
References
-
github.com
/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235
web, patch, third-party-advisory
-
advisory.checkmarx.net
/advisory/CX-2021-4302
web, exploit, third-party-advisory
-
github.com
/eflexsystems/node-samba-client/releases/tag/4.0.0
web, release-notes, third-party-advisory
-
npmjs.com
/package/samba-client
web, product, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210319-0002/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-27185
advisory
-
github.com
/eflexsystems/node-samba-client
package
-
security.netapp.com
/advisory/ntap-20210319-0002
web
Sources
- CVE List CVE-2021-27185
- GitHub Advisory GHSA-r3j7-x2g5-9gx6
- NVD CVE-2021-27185
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.