Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. execa
  4. ›
  5. GMS-2020-2

GMS-2020-2: Uncontrolled Search Path Element

May 15, 2020

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.

References

  • github.com/sindresorhus/execa/releases/tag/v2.0.0
  • gitlab.com/gitlab-org/security-products/gemnasium-db/-/issues/301

Code Behaviors & Features

Detect and mitigate GMS-2020-2 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All version before 2.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

npm/execa/GMS-2020-2.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:31 +0000.