npm CLI Incorrect Permission Assignment Local Privilege Escalation Vulnerability
Vulnerability
A local privilege escalation vulnerability has been identified in npm CLI. This issue arises from the application loading modules from an unsecured location, allowing local attackers to escalate privileges and execute arbitrary code in the context of the affected user. To exploit this vulnerability, an attacker must first have the ability to run low-privileged code on the target system.
Impact
Exploitation of this vulnerability allows for unauthorized privilege escalation, enabling local attackers to execute arbitrary code with elevated rights.
Remediation
The primary mitigation strategy is to limit interaction with the affected product.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
