Untrusted Search Path Affecting yarn package, versions <1.22.13


0.0
high

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.05% (19th percentile)
Expand this section
NVD
7.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-YARN-6227561
  • published 5 Feb 2024
  • disclosed 4 Feb 2024
  • credit Unknown

How to fix?

Upgrade yarn to version 1.22.13 or higher.

Overview

yarn is a package for dependency management.

Affected versions of this package are vulnerable to Untrusted Search Path. An attacker can execute arbitrary code by placing a malicious executable file in a directory that is then searched by the victim running certain commands.

Note: This is only exploitable on Windows.