Untrusted Search Path Affecting yarn package, versions <1.22.13


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (22nd percentile)

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 IDSNYK-JS-YARN-6227561
  • published5 Feb 2024
  • disclosed4 Feb 2024
  • creditUnknown

Introduced: 4 Feb 2024

CVE-2021-4435  (opens in a new tab)
CWE-426  (opens in a new tab)

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.

CVSS Scores

version 3.1