ZDI-26-043: (0Day) npm cli Uncontrolled Search Path Element Local Privilege Escalation Vulnerability
This vulnerability allows local attackers to escalate privileges on affected installations of npm cli. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of modules. The application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-26-043?
ZDI-26-043 is classified as a local privilege escalation vulnerability.
How do I fix ZDI-26-043?
To mitigate ZDI-26-043, ensure that your npm cli is updated to the latest version where the vulnerability has been addressed.
Who is affected by ZDI-26-043?
ZDI-26-043 affects installations of npm cli that have not implemented necessary security measures.
What can an attacker do with ZDI-26-043?
An attacker can escalate their privileges on the affected system if they can execute low-privileged code.
How can I determine if my npm cli installation is vulnerable to ZDI-26-043?
Check your npm cli version and compare it against the version fixed for the ZDI-26-043 vulnerability.