Skip to content
OpenAdvisories
Critical GHSA-9px9-f7jw-fwhj

Command Injection in priest-runner

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm priest-runner >= 0.0.0 — GHSA-9px9-f7jw-fwhj

References