Description
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | samba-client | < 4.0.0 | 4.0.0 | GHSA-r3j7-x2g5-9gx6 |
References
- https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0
- https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235
- https://www.npmjs.com/package/samba-client
- https://security.netapp.com/advisory/ntap-20210319-0002/
- https://advisory.checkmarx.net/advisory/CX-2021-4302