GitHub Advisoryadvisory · npm
GHSA-r6fw-8m27-43c9 Command injection in portkiller
HIGH
Official page ↗
- Aliases
- CVE-2021-23379
- Ecosystem
- npm
- Packages
- portkiller
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-77
- Reviewed
- 2021-04-19
Affected packages
• npm portkiller: <= 1.0.3 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2021-23379 This affects all versions of package portkiller. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23379 advisory
- https://github.com/indatawetrust/portkiller package
- https://github.com/indatawetrust/portkiller/blob/f1f1c5076d9c5d60e8dd3930e98d665d8191aa7a/index.js%23L10 web
- https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078537 web
- https://www.npmjs.com/package/portkiller web