nodejs-whisper through 0.3.1 OS Command Injection via convertToWavType
ChetanXpro nodejs-whisper
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nodejs-whisper npm |
|
|
Original description
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.
From the CVE record · VulnCheck