GitHub Advisoryadvisory · npm
GHSA-9px9-f7jw-fwhj Command Injection in priest-runner
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- priest-runner
- Severity
- Critical
- Weaknesses
- CWE-77
- Reviewed
- 2020-08-31
Affected packages
• npm priest-runner: >= 0.0.0 (no fix yet)
Description
All versions of `priest-runner` are vulnerable to Command Injection. The package fails to sanitize input and passes it directly to a `spawn` call, which may allow attackers to execute arbitrary code in the system. The `PriestController.prototype.createChild ` function is vulnerable since the `spawn` parameters come from a POST request body.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness