Description
The samba-client package before 4.0.0 for Node.js allows command injection because of the use of process.exec.
Remediation
References
https://advisory.checkmarx.net/advisory/CX-2021-4302
https://github.com/eflexsystems/node-samba-client/commit/5bc3bbad9b8d02243bc861a11ec73f788fbb1235
https://github.com/eflexsystems/node-samba-client/releases/tag/4.0.0
https://security.netapp.com/advisory/ntap-20210319-0002/
https://www.npmjs.com/package/samba-client
Related Vulnerabilities
CVE-2021-23335 Vulnerability in npm package is-user-valid
CVE-2018-1002203 Vulnerability in maven package org.webjars.npm:unzipper
CVE-2020-14967 Vulnerability in npm package jsrsasign
CVE-2020-12265 Vulnerability in maven package org.webjars:decompress-tar
CVE-2022-36894 Vulnerability in maven package org.jenkins-ci.plugins:clif-performance-testing