CVE-2021-23378
Command Injection in picotts
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
This affects all versions of package picotts. If attacker-controlled user input is given to the say function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | picotts | no fix listed |
References
- https://github.com/luisivan/node-picotts
- https://github.com/luisivan/node-picotts/blob/8c6b183b884890c8e9422f93036b374942398c8b/index.js#23L16
- https://github.com/luisivan/node-picotts/blob/8c6b183b884890c8e9422f93036b374942398c8b/index.js%23L16
- https://nvd.nist.gov/vuln/detail/CVE-2021-23378
- https://snyk.io/vuln/SNYK-JS-PICOTTS-1078539