This affects the package portprocesses before 1.0.5. If (attacker-controlled) user input is given to the killProcess function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
References
Link | Resource |
---|---|
https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23 | Broken Link |
https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1 | Patch Third Party Advisory |
https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm | Exploit Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 | Exploit Third Party Advisory |
https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23 | Broken Link |
https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1 | Patch Third Party Advisory |
https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm | Exploit Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:51
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 6.5
v3 : 6.3 |
References | () https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23 - Broken Link | |
References | () https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1 - Patch, Third Party Advisory | |
References | () https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm - Exploit, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 - Exploit, Third Party Advisory |
Information
Published : 2021-03-31 15:15
Updated : 2024-11-21 05:51
NVD link : CVE-2021-23348
Mitre link : CVE-2021-23348
CVE.ORG link : CVE-2021-23348
JSON object : View
Products Affected
portprocesses_project
- portprocesses
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')