CVE-2021-23348
Portprocesses Project Portprocesses vulnerability
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.
Affected products
Portprocesses. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Portprocesses Project Portprocesses runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1 · Patch
- github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm · Exploit
- snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536 · Exploit
- github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L
- nvd.nist.gov/vuln/detail/CVE-2021-23348
- cve.org/CVERecord?id=CVE-2021-23348
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.