7.3high
Arbitrary Command Injection
- Severity
- 7.3high CVSS:3.1 by snyk
- Exploit likelihood
- 1.34% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-cq77-8jpx-892g
Description
This affects all versions of package killing. 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
| Product or package | Versions | Reported by |
|---|---|---|
| killing | before unspecified | CVE List |
| killing (npm) | up to 1.0.6 | GitHub Advisory Database |
| killing_project killing | Not specified | NVD |
All scores
| snyk | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
This affects all versions of package killing. 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.
GitHub Advisory Database
This affects all versions of package killing up to and including 1.0.6. 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.
NVD (es)
Esto afecta a todas las versiones del paquetes killing. Si es proporcionada una entrada de usuario controlada por un atacante, es posible para un atacante ejecutar comandos arbitrarios. Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada
References
| https://snyk.io/vuln/SNYK-JS-KILLING-1078532 | exploit, third-party-advisory, web | |
| https://github.com/xudafeng/killing/blob/672ed164ccdd10c0a8fb93c5c6d2456f1dfab781/lib/killing.js%23L62 | broken-link, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23381 | advisory | |
| https://github.com/xudafeng/killing | package | |
| https://www.npmjs.com/package/killing | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23381 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cq77-8jpx-892g changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-23381 changed 2026-06-17 | Public domain |