CVE-2020-6836 Command Injection in hot-formula-parser
CriticalCVSS 9.8
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
grammar-parser.jison in the hot-formula-parser package before 3.0.1 for Node.js is vulnerable to arbitrary code injection. The package fails to sanitize values passed to the parse function and concatenates them in an eval call. If a value of the formula is taken from user-controlled input, it may allow attackers to run arbitrary commands on the server.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hot-formula-parser project hot-formula-parser | < 3.0.1 | 3.0.1 | Fixed |
| npm hot-formula-parser(npm) | < 3.0.1 | 3.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm hot-formula-parser(npm) | < 3.0.1 | 3.0.1 |
| hot-formula-parser project hot-formula-parser | < 3.0.1 | 3.0.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- blog.truesec.com
- www.npmjs.com patch third-party-advisory
- github.com
- github.com product