Description
Versions of hot-formula-parser prior to 3.0.1 are vulnerable to Command Injection. The package fails to sanitize values passed to the parse function and concatenates it in an eval call. If a value of the formula is supplied by user-controlled input it may allow attackers to run arbitrary commands in the server.
Recommendation
Update the hot-formula-parser package to the latest compatible version. Followings are version details:
- Affected version(s): < 3.0.1
- Patched version(s): 3.0.1
References
- GHSA-rc77-xxq6-4mff
- blog.truesec.com
- www.npmjs.com
- CVE-2020-6836
- CWE-94
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- karma-mojo enables OS Command Injection - CVE-2020-7626
- chrome-launcher subject to OS Command Injection - CVE-2020-7645
- Command Injection Vulnerability in systeminformation (GHSA-m57p-p67h-mq74) - CVE-2020-26274
- Injection and Command Injection in devcert - CVE-2020-8186
- Tags:
- npm
- hot-formula-parser
Anything's wrong? Let us know Last updated on January 09, 2023