eflexsystems/node-samba-client · Security
Command injection in samba-client
- GHSA ID
- GHSA-r3j7-x2g5-9gx6
- CVE ID
- CVE-2021-27185
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-27185 ↗
- https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235 ↗
- https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0 ↗
- https://www.npmjs.com/package/samba-client ↗
- https://security.netapp.com/advisory/ntap-20210319-0002/ ↗
- https://advisory.checkmarx.net/advisory/CX-2021-4302 ↗
- https://github.com/advisories/GHSA-r3j7-x2g5-9gx6 ↗