Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-6836 EUVD-2020-0442GHSA-rc77-xxq6-4mff

Command Injection in hot-formula-parser

Published Jan 11, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm hot-formula-parser < 3.0.1 3.0.1 GHSA-rc77-xxq6-4mff

References