GitHub Advisoryadvisory · npm
GHSA-wqhw-frpx-5mmp Command Injection in tomato
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- tomato
- Severity
- High
- Weaknesses
- CWE-77
- Reviewed
- 2020-08-31
Affected packages
• npm tomato: all versions (no fix yet)
Description
All versions of `tomato` are vulnerable to Command Injection. The /api/exec endpoint does not validate user input allowing attackers to run arbitrary commands in the system.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness