CVE-2021-23375: 
JavaScript vulnerability analysis and mitigation

Overview

CVE-2021-23375 is a vulnerability in the psnode Node.js module that allows arbitrary command injection. The vulnerability was disclosed and published on April 18, 2021. The affected package psnode is used for listing and killing processes on OSX and Windows systems. This vulnerability affects all versions of the psnode package with no fixed version available (Snyk).

Technical details

The vulnerability exists due to insufficient input sanitization in the kill function, which uses the child_process exec function without proper validation. The vulnerability has a CVSSv3 base score of 7.3 (High severity). The attack vector is Network-based, with Low attack complexity, requiring No privileges and No user interaction for exploitation (Snyk).

Impact

Successful exploitation of this vulnerability allows attackers to execute arbitrary commands on the affected system. The impact includes potential loss of confidentiality, integrity, and availability, though the attacker's control over modifications is limited. The vulnerability can affect system resources but does not typically result in complete service denial (Snyk).

Exploitability

The vulnerability is considered highly exploitable with a proof-of-concept available. A simple example of exploitation involves passing attacker-controlled input to the kill function: psnode.kill('$(touch success)', function() {}); which would create a file named 'success' on the system (Snyk).

Mitigation and workarounds

There is currently no fixed version available for the psnode package. Users are advised to either discontinue use of the package or implement additional input validation before passing data to the kill function (Snyk).

Additional resources


Source: This report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-101895HIGH8.7
  • JavaScript logoJavaScript
  • @angular/platform-server
NoYesOct 14, 2026
CVE-2026-101896HIGH8.2
  • JavaScript logoJavaScript
  • @angular/router
NoYesOct 14, 2026
CVE-2026-102599HIGH7.5
  • JavaScript logoJavaScript
  • commercial-gitlab-rails-ee-19.4
NoYesOct 13, 2026
CVE-2026-101899MEDIUM6.9
  • JavaScript logoJavaScript
  • node-axios
NoYesOct 13, 2026
CVE-2026-102672MEDIUM6.7
  • JavaScript logoJavaScript
  • electron
NoYesOct 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management