GHSA-3q9x-w53p-jg53
Dashboard / Vulnerabilities / GHSA-3q9x-w53p-jg53
Summary: 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** ```js var Root = require("heroku-addonpool"); var root = Root("sss", "& touch JHU", {}); root.setup(); ```
References: https://nvd.nist.gov/vuln/detail/CVE-2020-7634, https://github.com/nodef/heroku-addonpool/commit/b1a5b316473ac92d783f3d54ee048d54082da38d, https://github.com/nodef/heroku-addonpool/blob/master/index.js, https://snyk.io/vuln/SNYK-JS-HEROKUADDONPOOL-564428
Affected packages
Package
Name: heroku-addonpool
Purl: pkg:npm/heroku-addonpool
Affected ranges
Type: SEMVER
Events:
