Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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