ZDI-CAN-25430: 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-CAN-25430?
The severity of ZDI-CAN-25430 is critical due to its potential for local privilege escalation.
How do I fix ZDI-CAN-25430?
To fix ZDI-CAN-25430, it is recommended to update to the latest version of the npm cli, which addresses the permission assignment issues.
Who is affected by ZDI-CAN-25430?
ZDI-CAN-25430 affects installations of the npm cli that have not implemented the necessary security updates.
Can ZDI-CAN-25430 be exploited remotely?
No, ZDI-CAN-25430 requires local access to the system to exploit the privilege escalation vulnerability.
What type of vulnerability is ZDI-CAN-25430?
ZDI-CAN-25430 is categorized as a local privilege escalation vulnerability related to incorrect permission assignments.