CVE-2021-27185
9.8critical
Command injection in samba-client
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 4.89% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-r3j7-x2g5-9gx6
Description
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| samba-client (npm) | before 4.0.0 | GitHub Advisory Database |
| samba-client_project samba-client | before 4.0.0 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
NVD (es)
El paquete samba-client versiones anteriores a 4.0.0 para Node.js, permite una inyección de comandos debido al uso del archivo process.exec
References
| https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0 | release-notes, third-party-advisory, web | |
| https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235 | patch, third-party-advisory, web | |
| https://www.npmjs.com/package/samba-client | product, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20210319-0002/ | third-party-advisory | |
| https://advisory.checkmarx.net/advisory/CX-2021-4302 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-27185 | advisory | |
| https://github.com/eflexsystems/node-samba-client | package | |
| https://security.netapp.com/advisory/ntap-20210319-0002 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27185 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r3j7-x2g5-9gx6 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-27185 changed 2026-06-17 | Public domain |