high7.3
CVE-2021-23379
Command injection in portkiller
Impact
This affects all versions of package portkiller. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | portkiller | <= 1.0.3 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Portkiller Project | Portkiller | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/indatawetrust/portkiller/blob/f1f1c5076d9c5d60e8dd3930e98d665d8191aa7a/index.js%23L10
- https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078537
- https://github.com/advisories/GHSA-r6fw-8m27-43c9
- https://nvd.nist.gov/vuln/detail/CVE-2021-23379
- https://www.npmjs.com/package/portkiller