Resolve vulnerability: Uncontrolled Search Path Element in execa

Description:

Attackers could trick execa into executing arbitrary binaries. This behaviour is caused by the setting preferLocal=true which makes execa search for locally installed binaries and executes them. This vulnerability is usually only exploitable when using execa on a client-side LOCAL application.

Solution:

Upgrade to version 2.0.0 or above.

Identifiers:

Links: