Description (CNA)
nodejs-whisper through 0.3.1 contains an OS command injection vulnerability in convertToWavType() that allows attackers to execute commands by supplying crafted audio file paths. Attackers can provide file names containing $() command substitution or closing quotes, which are interpolated into an ffmpeg command run via shelljs exec(), executing OS commands with Node.js process privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ChetanXpro / nodejs-whisper | affected 0 through 0.3.1 |
CWE
CWE-78
References
- https://github.com/ChetanXpro/nodejs-whisper/pull/259
- https://github.com/ChetanXpro/nodejs-whisper/blob/v0.3.1/src/utils.ts#L58-L59
- https://github.com/ChetanXpro/nodejs-whisper/blob/v0.3.1/src/utils.ts#L76-L77
- https://www.vulncheck.com/advisories/nodejs-whisper-through-0.3.1-os-command-injection-via-converttowavtype
ADP enrichment
No English description supplied.
No references supplied.