Description
This affects all versions of package psnode. If attacker-controlled user input is given to the kill 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.
Remediation
References
https://github.com/nrako/psnode/blob/076f623689e4506d3647505daca13b3f482e0c31/lib/index.js%23L59
https://snyk.io/vuln/SNYK-JS-PSNODE-1078543
Related Vulnerabilities
CVE-2020-35149 Vulnerability in maven package org.webjars.npm:mquery
CVE-2020-7774 Vulnerability in maven package org.webjars.npm:y18n
CVE-2023-45648 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2021-21290 Vulnerability in maven package io.netty:netty-codec-http
CVE-2022-31367 Vulnerability in npm package strapi-plugin-content-type-builder